mirror of
https://github.com/wassname/wtforms-parsleyjs.git
synced 2026-08-07 11:31:01 +08:00
Grammar correction, pointed out by fuhrysteve
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
window.ParsleyValidator.addValidator('anyof', function (value, array) {
|
||||
return array.indexOf(value);
|
||||
}, 32).addMessage('en', 'anyof', 'The value you have given is not an listed option.')
|
||||
}, 32).addMessage('en', 'anyof', 'The value you have given is not a listed option.')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user