backbone.validation icon indicating copy to clipboard operation
backbone.validation copied to clipboard

The acceptance check result of last time remains.

Open idatte2018 opened this issue 8 years ago • 1 comments

Once you check "I agree" to ON and Sumit it In the validation example page, backbone validation will remember the success result. Because there is some errors with other input element, if you modify them and check "I agree" to OFF, you will sumit it successfully without error because there is not checkbox value in model data and backbone validation use last check result of acceptance.

http://jsfiddle.net/thedersen/udXL5/

idatte2018 avatar Dec 19 '16 08:12 idatte2018

i think the problem is on how you input the value in the set() method. Probably when you input the form you use a val() function. stackoverflow -similar- problem example

eparisio avatar Apr 27 '17 14:04 eparisio