form 6
This commit is contained in:
parent
f8b9485921
commit
78402aaefa
@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.collapsable-form-style-multiline .MuiInputBase-root {
|
.collapsable-form-style-multiline .MuiInputBase-root {
|
||||||
width: 300px !important;
|
width: 400px !important;
|
||||||
margin: 5%;
|
margin: 5%;
|
||||||
min-height: 100px
|
min-height: 100px
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { FormControl, FormControlLabel, FormLabel, Grid, Radio, RadioGroup } from "@mui/material";
|
import { FormControl, FormControlLabel, FormLabel, Grid, Radio, RadioGroup, TextField } from "@mui/material";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
interface FormValues {
|
interface FormValues {
|
||||||
@ -18,6 +18,7 @@ interface FormValues {
|
|||||||
nerves: string;
|
nerves: string;
|
||||||
blood: string;
|
blood: string;
|
||||||
prostate: string;
|
prostate: string;
|
||||||
|
explanation:string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function SystemReviewSection6(){
|
export default function SystemReviewSection6(){
|
||||||
@ -38,6 +39,7 @@ export default function SystemReviewSection6(){
|
|||||||
nerves: '',
|
nerves: '',
|
||||||
blood: '',
|
blood: '',
|
||||||
prostate: '',
|
prostate: '',
|
||||||
|
explanation:'',
|
||||||
});
|
});
|
||||||
return(
|
return(
|
||||||
<>
|
<>
|
||||||
@ -334,6 +336,21 @@ export default function SystemReviewSection6(){
|
|||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<Grid item xs={6} className='collapsable-form-style-multiline'>
|
||||||
|
<FormLabel>Please explain your check marks:</FormLabel>
|
||||||
|
<TextField
|
||||||
|
multiline
|
||||||
|
variant="outlined"
|
||||||
|
label=""
|
||||||
|
name='explanation'
|
||||||
|
onChange={(event:any) => {
|
||||||
|
setValues((prevValues) => ({
|
||||||
|
...prevValues,
|
||||||
|
explanation: event.target.value,
|
||||||
|
}));
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user