svelte-forms
svelte-forms copied to clipboard
[BUG] matchField does not re-evaluate when the other field is changed
Describe the bug When using matchField, if you enter a value into the field with the validator it will be marked as invalid, and then when you match the value in the field without the validator it stays invalid.
To Reproduce Steps to reproduce the behavior:
- Create basic match field as per docs
- Type 'password' into the
passwordConfirmationfield - Type 'password' into the
passwordfield - The
passwordConfirmationfield is still invalid
Expected behavior When the first field obtains a value which is the same as the field with the validator, the field should be marked as valid.