modular-forms: Novalidate can't be overridden (SolidJS)
Form component sets novalidate="true"
by default and can’t be overridden. I want to create progressively enhanced forms with native HTML validation, but it can’t be done this way.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (15 by maintainers)
Can you also create a issue for this improvement. I find this interesting and an implementation also seems quite simple.
Not quite, there are attributes that needs false to be on the element (aria-expanded for example). Probably it’s SSR framework (Astro) specific bug. I’ll try to investigate later. Most probably this won’t need fixing on modular forms side so you don’t have to worry about that.
I understand. That makes sense. I will try to improve that tomorrow.