S
SolidJS3y ago
avant

Handling forms

Is there a popular forms library between Solid js'ers? What do you guys use?
9 Replies
Alex Lohr
Alex Lohr3y ago
There are a few. Felte would probably be the first I would try if I wouldn't directly go for the built-in forms in solid-start.
Some Call Me Tim
+1 for Felte
Fabian Hiller
Fabian Hiller2y ago
Modular Forms is another option: https://modularforms.dev/
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fabian Hiller
Fabian Hiller2y ago
I'm using a <textarea> element with Modular Forms in a project. Since the functionality is very similar to <input>, it should work. Let me know if you run into a problem.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fabian Hiller
Fabian Hiller2y ago
How do you access e.g. error messages and display them in the form? Via URL search parameters?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
apollo79
apollo792y ago
This is browser specific. In Firefox the calendar unfurls on click on the input, in Chrome only on click on the icon (and in both with keyboard navigation when the focus is in the input and hitting space). So this is no problem of modularforms, it just handles validation for you and some special form cases, e. g. nested forms.
Want results from more Discord servers?
Add your server