UVASOMIT / metron

JavaScript convenience library and framework written in TypeScript.
MIT License
6 stars 7 forks source link

Checking labels exist before trying to add the error class #110

Closed TomJLynch closed 6 years ago

TomJLynch commented 6 years ago

When validating a form we should expect that occasionally an input may not have an associated label, so check for a label before trying to add the error class