adopted-ember-addons / adopted-ember-addons/ember-changeset-validations

async validator is called multiple times with the same value

Offen
#283 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
215
Forks
98
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.