-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
md-input with [(ngModel)] removes 'md-prefix' and 'md-suffix' content. #386
Comments
Experienced this and a similar problem with checkbox labels (radio labels seem unaffected) |
In angular rc-1 and material2 alpha-4 this works normally |
Can confirm, this works with the versions @davidgabrichidze mentioned |
Closing this as fixed. Cheers! |
…angular#386) fixes angular#9805 also upgrades angular to 5.1.1
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. |
Source HTML:
<md-input placeholder="amount" [(ngModel)]="account.userName"> <span md-prefix>$ </span> <span md-suffix>.00</span> </md-input>
In rendered html prefix/suffix element's content are emtpy:
...<div _ngcontent-ega-7="" class="md-input-prefix"></div>...
versions:
The text was updated successfully, but these errors were encountered: