Closed liberom closed 3 years ago
I wouldn't say this is a simple form issue since we don't control/interpolate any JS. Could you try to reproduce this issue on an isolated app? If you still see the same issue, please send the link to us so we can try to figure out what is happening.
Thanks
Precheck
I have encountered an issue with the form rendering in Chrome. I usually work with Firefox and I hadn't experience any problems, but I tried testing the webapp in Chrome and the form is not properly formatted and some JS is not working. I've searched the issues here and didn't find any similar problems. I have also searched online for explanations and haven't found a thing. I would appreciate the input of more experienced coders.
Environment
Versions Ruby: 2.6.5p114 Rails: 6.0.1 Simple Form: 5.0
Current Behavior
Form rendered by Chrome The two main lines of this form should all be on the same line, the fields sizes are, in general, 8. The read-only fields in grey should show values fetched by the JS.
Expected behavior
Form rendered by Firefox
Form Code
I can provide the complete html and/or the JS as well if necessary.
`<%= simple_form_for([@operation, @movement]) do |f| %>
<%= f.error_notification %> <%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>
<% end %>`