Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

0.2.1 bug,[(model)]方式绑定的值在清空文本框时,会保留最后一次保存的值 #44

Open
liweitao92 opened this issue Mar 16, 2018 · 1 comment

Comments

@liweitao92
Copy link

Bug Report or Feature Request (mark with an x)


[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Reproduction link

https://cipchk.github.io/nz-schema-form/#/validator
官网的例子就有这个问题。

ezgif-4-2228a34ce9
更改文本框,查看 result 的值变化

Steps to reproduce

What is expected?

What is actually happening?

Environment


ng-alain version: X.Y.Z
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
@cipchk
Copy link
Owner

cipchk commented Mar 16, 2018

已知,因为改了使用 model 来获取数据,但是是不对的,应该使用 change 事件。

近期会重构基础逻辑,这是一个数据流混乱的问题 #43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants