Closed kaka-ruto closed 4 months ago
I would need to have a repository that reproduces this to help, but it also doesn't seem to be related to TailwindCSS Stimulus Components.
It might not be related to TailwindCSS Stimulus Components for sure. I am using Jumpstart Pro. When I get some time to reproduce this I will put something up, otherwise it might be possible to reproduce with Jumpstart Pro
Sounds good 👍
Closing this until we get a reproduction. 👍
HI! First of all thank you for this work!
I am displaying a modal with a form to create a post, running backend validations on submit and displaying any errors on the modal if any, otherwise closing the modal and redirecting to the new post page
This is my code
On sm screens, the error messages do not show at all on the modal(or anywhere I could see). The modal just stays blank. I put a breakpoint into the form, checked and the post does have errors, even ran
render "error_messages", resource: form.object
and the error messages are being rendered, just not being displayed!On md and lg screens, the form errors show well (though one problem I have on these screens is once the errors show on the form, if I close the modal and click create post again, the previous errors are still on the form. The form is reset only after a page refresh. Ideally they should be gone when I close the form. Any way around this as well?)
Thank you very much!