Validatinator
Validatinator copied to clipboard
Allow string selectors for other field reference validation methods
Addresses issue #32:
- Effects
same
,different
,requiredIf
, andrequiredIfNot
methods - Adds
string
as a valid type forotherField
argument - Performs
querySelector
operation on string arguments to convert to field reference - Adds tests for the effected methods that ensure that the string reference method works as intended