client_side_validations
client_side_validations copied to clipboard
Client Side Validations made easy for Ruby on Rails
support per field on context support multiple :on contexts change default force when :on is present
I need this change to make checkboxes/radiobuttons work in CSV-simple_form. Currently in CSV validations are added to CSV hash (via `collection_check_boxes`/`collection_radio_buttons` overrides). Events aren't attached to radiobuttons (filtered out). For...
Added support new fields, which weren't overridden by CSV form_builder and therefore not included in CSV Hash. Showing of error_message doesn't work well with these, because of special naming and...
Hello! As mentioned in my comment here: https://github.com/DavyJonesLocker/client_side_validations/pull/795#issuecomment-691235835 I'm building some "Form Objects" serialized as json for use with client side schema libraries. As such, I do not need the...
## Todo list (in priority order) - [x] Remove the uniqueness middleware (#512) (#597) (#612) (#636) (#659) (#226) **[7.0]** 🚢 - [x] Unobtrusive Javascript (#666) (#601) **[9.0]** 🚢 - [...
Add a callback when CSV has been initialized to run custom code This will prevent the need of duplicating initialization code and check for turbolinks / jquery https://github.com/DavyJonesLocker/client_side_validations/issues/770#issuecomment-533788066 Ref: #770
When using numericality: greater_than with other model attributes, if i remove 1 of the fields, it doesn't show any messages anymore, but when i try to submit, i'm getting server...
Rails 7.0 introduced a [`comparison`](https://guides.rubyonrails.org/v7.0.0/active_record_validations.html#comparison) validator. Check if this is possible to introduce on CSV