Tim
A question about negative numbers, and Rich Text Editor height
I have two small questions I couldn't figure out.
When adding
numeric()
I get the two small arrows in the input field to increase or decrease the number. But when adding minValue(0)
users can still go negative with the arrows. It's not a big deal, validation will prevent negative numbers when submitting, but it would be nice if negative numbers can be avoided before that. I know it can be done with num="0"
in html, but I'm not sure how to do this with the form builder.
The other thing I couldn't find is setting the height for the Rich Text Editor, I would like to add a bit more spacing. Usually you can set rows="xx"
on a textarea, I'm looking for something like that. I'm probably just overlooking something, but I couldn't find it. 🙂11 replies
Missing Alpinejs components when using Filament wizard in registration form
Hi, I'm using the form builder and the wizard for a registration form outside the admin panel. Everything is going well, but I'm struggling with one last issue. I noticed some components like the select with multiple options, and the rich text form are not working well. When I check the browser console, I see it's missing Alpinejs components like the richEditorFormComponent. I tried to copy them from the vendor folder and include them in my own Alpinejs instance, but it didn't work as expected. Is there documentation on how I can do this?
4 replies