Validatinator icon indicating copy to clipboard operation
Validatinator copied to clipboard

Allow string selectors for other field reference validation methods

Open mpriour opened this issue 2 years ago • 0 comments

Addresses issue #32:

  • Effects same, different, requiredIf, and requiredIfNot methods
  • Adds string as a valid type for otherField 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

mpriour avatar Aug 10 '22 18:08 mpriour