Closed kaeon closed 1 year ago
Hi @kaeon, thanks for bringing this to our attention. Right now the current type for the FormProps
comes from HTMLAttributes<HTMLFormElement>
rather than DetailedHTMLProps<FormHTMLAttributes, HTMLFormElement>
so maybe that's where the issue lies.
https://github.com/daisyui/react-daisyui/blob/main/src/Form/Form.tsx#L8
I'll make a PR (or feel free to do so yourself) and see if that fixes it!
Should be fixed with #287, I'll try to get that merged soon.
@benjitrosch thanks for the quick response and fix!
I get a typescript error when setting the noValidate property on Form. When I just use