[placeholder] vs [attr.placeholder] #2770
Answered
by
waterplea
theorlovsky
asked this question in
Q&A
-
In Taiga 3, the <input [attr.placeholder]="someValue">
<!-- these two look more consistent -->
<input [placeholder]="someValue">
<input placeholder="this is not binding"> |
Beta Was this translation helpful? Give feedback.
Answered by
waterplea
Sep 29, 2022
Replies: 1 comment 1 reply
-
Seems like just a mistake on our part, these things should behave the same. Some attributes have corresponding properties and some might not, so I guess migration was just written with safety in mind. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
theorlovsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like just a mistake on our part, these things should behave the same. Some attributes have corresponding properties and some might not, so I guess migration was just written with safety in mind.