Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markAsDirty and markAsTouched does not add classes correctly #3865

Closed
goknsh opened this issue Jul 26, 2019 · 0 comments · Fixed by #3868
Closed

markAsDirty and markAsTouched does not add classes correctly #3865

goknsh opened this issue Jul 26, 2019 · 0 comments · Fixed by #3868

Comments

@goknsh
Copy link

goknsh commented Jul 26, 2019

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-utad4l

Steps to reproduce

  1. Create a form in constructor
  2. Mark a field as touched or dirty after form is created

What is expected?

ant-form-item-with-help class is added to respective nz-form-item when markAsDirty() or markAsTouched() is called.

What is actually happening?

ant-form-item-with-help class is not added to respective nz-form-item when markAsDirty() or markAsTouched() is called.

Environment Info
ng-zorro-antd 8.1.0
Browser Firefox 69.0
@goknsh goknsh changed the title markAsDirty and markAsTouched do not add classes correctly markAsDirty and markAsTouched does not add classes correctly Jul 26, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants