Closed jafin closed 10 months ago
Mantine Chip accepts value of type string | number | readonly string[] | undefined
string | number | readonly string[] | undefined
When using Chip from react-hook-form-mantine it allows setting value to boolean
boolean
It would be good if there was a way to restrict this type to match Mantine
This type is inferred from whatever values are passed in from useForm. If the values given there are right, then they should be inferred correctly.
useForm
Stale issue message
Mantine Chip accepts value of type
string | number | readonly string[] | undefined
When using Chip from react-hook-form-mantine it allows setting value to
boolean
It would be good if there was a way to restrict this type to match Mantine