NYPD / ritsu.js

HTML form validation
MIT License
2 stars 0 forks source link

Make inputs with ruleTypes but no ruleClass a hard stop #120

Open NYPD opened 5 years ago

NYPD commented 5 years ago

Related to https://github.com/NYPD/ritsu.js/issues/117#issue-486393201

If the user added a rule type and forgot the rule class, simply mark the field an error and print a console message.

Should not be any need to depend on the required attribute or not.