-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(chips): unable to bind to chip input placeholder #10855
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
fix(chips): unable to bind to chip input placeholder #10855
Conversation
@@ -38,6 +38,7 @@ let nextUniqueId = 0; | |||
'(focus)': '_focus()', | |||
'(input)': '_onInput()', | |||
'[id]': 'id', | |||
'[attr.placeholder]': 'placeholder || null', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tinayuangao should we deprecate the placeholder
input for 7.0? It doesn't do anything, apart from proxying the value to the placeholder
attribute. Consumers can achieve the same by binding to attr.placeholder
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think we can
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -38,6 +38,7 @@ let nextUniqueId = 0; | |||
'(focus)': '_focus()', | |||
'(input)': '_onInput()', | |||
'[id]': 'id', | |||
'[attr.placeholder]': 'placeholder || null', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think we can
Fixes the value that is bound to the `placeholder` input not being assigned to the `placeholder` attribute. Fixes angular#10848.
563c2da
to
da963d3
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes the value that is bound to the
placeholder
input not being assigned to theplaceholder
attribute.Fixes #10848.