#Custom form component

7 messages · Page 1 of 1 (latest)

molten lichen
#

Hi, I want to create a custom component to select weekdays. It's basically a group of checkboxes.

What's the best way to implement this in Mantine, so that it gets well tied to the useForm logic (on change it updates the form.values object, validation, etc)?

Attached is the example of what I need. It should return an array of the selected strings like: ["sun","mon","wed"]

Thanks

#

Custom form component

burnt pike
molten lichen
#

I’m thinking on use a Checkbox.Group instead, but I’m not sure how to change the icon to a letter yet

molten lichen
#

thank you! I just got it working