mirror of https://github.com/AlphaNecron/Void.git
fix(component): properly disabled isRequired for isAdmin
This commit is contained in:
parent
f99915506a
commit
bfa86e9249
|
@ -119,7 +119,7 @@ export default function Users() {
|
|||
</Field>
|
||||
<Field name='isAdmin' type='checkbox'>
|
||||
{({ field }) => (
|
||||
<FormControl isRequired>
|
||||
<FormControl>
|
||||
<FormLabel htmlFor='isAdmin'>Administrator</FormLabel>
|
||||
<Checkbox {...field}/>
|
||||
</FormControl>
|
||||
|
|
Loading…
Reference in New Issue