rails client_side_validations and select tag

Egor Malkevich Source

The gem client_side_validations doesn`t validate select tag with no item selected. Maybe need to pass some params in model or .erb file?



answered 5 years ago Egor Malkevich #1

Solution is trying to do validate presence. Try validating numericality / greater than > 0.

comments powered by Disqus