Validation with input name attributes may colide
Closed this issue · 1 comments
kure- commented
Hey,
Im using validatinator on one of my projects. Anyway, I've run into an issue, that if your input name attribute colide with e.g. meta tag, the validatinator gets broken, because it checks in getFieldsValue() method whether the input name exists, but not within the form, but inside document.
So if you have <meta name="author" value="xx" />
and inside a document you have <input name="author" ...>
the method fails.
The method should check whether it is really inside the form, not in document.
JenkinsDev commented
Thanks for the issue - I'll get a hotfix out today.