Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jvendetti committed May 4, 2021
2 parents e1c6f6f + 96b1351 commit 7a195a1
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions phs-gdc-dashboard/src/components/content/Step1.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default function Step1(props) {
separator: {
margin: theme.spacing(2),
},
locationValuesLabel: {
margin: theme.spacing(0, 0, 1.5, 0),
textAlign: 'left',
},
}));

const classes = useStyles();
Expand Down Expand Up @@ -129,23 +133,26 @@ export default function Step1(props) {
<div className={classes.separator}/>
{valueOptionRadio === "optionEnter" &&
<>
<TextField
fullWidth
id="standard-multiline-flexible"
label="Enter values (one per line)"
multiline
rowsMax={20}
rows={6}
value={variableValues}
variant="outlined"
onChange={handleChangeValuesField}
onBlur={e => {
handleChangeValuesField(e);
props.validateStep1VariableValues();
}}
error={props.showPhsVariableValuesError}
/>
<FormHelperText className="helper-text">Example: <i>{INDEX_VARIABLES[variable]['uiValuesExample']}</i></FormHelperText>
<FormControl fullWidth>
<FormLabel className={classes.locationValuesLabel}>Location list</FormLabel>
<TextField
fullWidth
id="standard-multiline-flexible"
label="Enter values (one per line)"
multiline
rowsMax={20}
rows={6}
value={variableValues}
variant="outlined"
onChange={handleChangeValuesField}
onBlur={e => {
handleChangeValuesField(e);
props.validateStep1VariableValues();
}}
error={props.showPhsVariableValuesError}
/>
<FormHelperText className="helper-text">Example: <i>{INDEX_VARIABLES[variable]['uiValuesExample']}</i></FormHelperText>
</FormControl>
</>
}

Expand Down

0 comments on commit 7a195a1

Please sign in to comment.