Skip to content
1st8 edited this page Jan 8, 2013 · 12 revisions

To enable the validation of select2 inputs on form Submission add the following to your javascript after requiring rails.validations

ClientSideValidations.selectors.validate_inputs += ', .select2-container:visible ~ :input:enabled[data-validate]';

Requires this commit: Fix for #454

Clone this wiki locally