You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example: can.Map.extend('Test', { define: { errors: { value: null, validate: { required: true } } } }) a = new Test() a.validate() = false a.attr('errors') - should be null
The cause is the current implementation of validate method, which assigns to errors attribute the eventual error object/messages returned by the 3rd party validation library.
The text was updated successfully, but these errors were encountered:
Example:
can.Map.extend('Test', { define: { errors: { value: null, validate: { required: true } } } })
a = new Test()
a.validate()
= falsea.attr('errors')
- should be nullThe cause is the current implementation of validate method, which assigns to errors attribute the eventual error object/messages returned by the 3rd party validation library.
The text was updated successfully, but these errors were encountered: