canjs / can-validate

Validation utilities to be used with can-validate plugins.
https://canjs.com/doc/can-validate.html
MIT License
1 stars 4 forks source link

Better prepending of prop name #18

Closed Macrofig closed 8 years ago

Macrofig commented 8 years ago

The ValidateJS shim will prepend the property name to the beginning of the error string. It does this to match the behavior of the main validate method of ValidateJS since the single method does not do this inherently.

The shim, though, does not respect certain in-line "commands" like ^ that ValidateJS supports.

Need to add that functionality.

Macrofig commented 8 years ago

Fixed with PR #19