jqBootstrapValidation icon indicating copy to clipboard operation
jqBootstrapValidation copied to clipboard

Callback validation returns OK if text is empty

Open fmbiete opened this issue 12 years ago • 0 comments

You can reproduce it with your callback example.

/a.*z/.test("") returns false, so the regex is valid. But OK is returned, in your example, if the text input is left empty.

fmbiete avatar Jan 12 '14 12:01 fmbiete