bootstrap-validator icon indicating copy to clipboard operation
bootstrap-validator copied to clipboard

Errors null bug

Open petrkrejci1 opened this issue 5 years ago • 1 comments

When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.

petrkrejci1 avatar Jun 25 '19 09:06 petrkrejci1

I should have fix it as follows: if (errors && !errors.length) return

petrkrejci1 avatar Jun 25 '19 22:06 petrkrejci1