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

input在响应式表单中的HTML模板设置disabled属性会出现警告 #1166

Closed
ppjjzz opened this issue Mar 18, 2018 · 3 comments · Fixed by #1167
Closed

input在响应式表单中的HTML模板设置disabled属性会出现警告 #1166

ppjjzz opened this issue Mar 18, 2018 · 3 comments · Fixed by #1167
Labels

Comments

@ppjjzz
Copy link
Contributor

ppjjzz commented Mar 18, 2018

Version

0.7.0-beta.1

Environment

node 8.10.0,chrome

Reproduction link

https://github.com/2070255/bang-ng-template

Steps to reproduce

在angular的响应式form表单的HTML模板中设置input的disabled属性后控制台出现警告,在FormBuilder中设置disabled: true的话样式不起作用

What is expected?

不出现警告

What is actually happening?

出现警告

Other?

@ng-zorro-bot
Copy link
Collaborator

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.

@vthinkxie
Copy link
Member

https://stackblitz.com/edit/angular-zw8g59?file=app/app.component.ts works in template-driven form, and style is missing reactive-forms will be fixed in next version, thanks for your feedback.

@lock
Copy link

lock bot commented Mar 18, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants