Closed
Description
The normaliser function requires a string to be returned - an array, such as you get for a multiselect, is not permitted. This seems wrong to me.
I initially started using the normalizer to prevent blank strings from being permitted, but I'd like to be able to properly validate multiselect picklist values too.
Your environment
- version of
jquery-validate
: 1.17.0
Expected behaviour
I expect the validator to just use the value that's returned from the normalizer, not attempt to sanity-check it. That's my responsibility.
Actual behaviour
A TypeError is thrown and validation stops.