#use-form with switch
1 messages · Page 1 of 1 (latest)
form.getInputProps('switch', { type: 'checkbox' })
1 messages · Page 1 of 1 (latest)
how do you use the initialValues from use-form? <Switch label="Verified" {...form.getInputProps('verified')} /> this doesn't work. I have the verified initial value as true but when the form loads the switch is off.
form.getInputProps('switch', { type: 'checkbox' })