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

async validator is called multiple times with the same value

未关闭
#283 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
215
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。