formapro / JsFormValidatorBundle

The Javascript validation for Symfony 2, 3 and 4 forms
MIT License
128 stars 57 forks source link

Only run unique constraint checks on the constraint fields 2 #79

Closed kick-the-bucket closed 9 years ago

kick-the-bucket commented 9 years ago

item.name refers to <form_name>[<field_name>] - item.jsFormValidator.name holds the value to be matched.

Sorry I didn't catch it the first time: before the check passed when it shouldn't have and currently it fails when it shouldn't...