submit button disable
This commit is contained in:
parent
98b486d43c
commit
617728b771
@ -505,7 +505,6 @@ export default function PatientForm({type}:Props){
|
||||
</Accordion>
|
||||
|
||||
<Grid container>
|
||||
|
||||
<Grid item xs={12} className='collapsable-form-style-multiline'>
|
||||
<FormGroup sx={{ marginTop: 3 }}>
|
||||
<FormControlLabel
|
||||
@ -518,7 +517,7 @@ export default function PatientForm({type}:Props){
|
||||
|
||||
<Grid item xs={6} className='collapsable-form-style'>
|
||||
<TextField
|
||||
|
||||
disabled={type=='display'}
|
||||
variant="outlined"
|
||||
label="SIGNATURE"
|
||||
name='treatmentGoal'
|
||||
@ -535,7 +534,7 @@ export default function PatientForm({type}:Props){
|
||||
variant="contained"
|
||||
color="primary"
|
||||
sx={{ margin: 5, left: '40%', width: '200px' }}
|
||||
disabled={isChecked==false || signature==''}
|
||||
disabled={isChecked==false || signature=='' || type=='display'}
|
||||
onClick={handleSubmit}
|
||||
>
|
||||
Submit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user