ember-changeset-validations
ember-changeset-validations copied to clipboard
async validator is called multiple times with the same value
Start with an empty text input
Type a
Async validator is called twice with a
and a third time with a
on blur
Type a second character b
Async validator is called with ab
and again with ab
on blur
This scenario results in 5 calls for 2 changes - should only be called twice.
Thanks @BryanCrotaz. Do you have a minimal repro I can play around with? I want to make sure the problem is on our side.
async my-validate() { console.log("async called"); Await timeout(500); Return true; }