-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form animations broken after an erroneous submit #46
Comments
hit @dedles, i guess this causes by rails "field-with-errors" wrapper. Check this out.. |
This issue still exists. It would be awesome if the gem included a wrapper override. I also used an override in my application.rb like this: config.action_view.field_error_proc = Proc.new { |html_tag, instance| html_tag } To switch it off, but it would be awesome to have it red underlined, and a bit quicker to redraw. |
@ICT22 +1, Yes, turning wrappers off is not really a solution. |
A somewhat better workaround based on this stack post:
|
After submitting a form with some incorrect input the labels and text becomes static and will not move to the top as they do when the field is selected or when the page loads.
see:
My form code looks like this:
I've tried disabling turbolinks and using the jquery.turbolinks gem. But neither approach has worked. Any advise would be really appreciated
The text was updated successfully, but these errors were encountered: