Components: md-hint isn't working with textarea.

Created on 17 Feb 2017  路  4Comments  路  Source: angular/components

Bug, feature request, or proposal:

Bug

What is the expected behavior?

<md-hint align="right">md-hint-example</md-hint>

Should appear aligned hint with text 'md-hint-example'

What is the current behavior?

Nothing appears. Works only if I use hintLabel attribute of md-input-container.

What are the steps to reproduce?

http://plnkr.co/edit/RYUhDsQABDxUc51cL9F0?p=preview

hintLabel - working
md-hint - isn't working

Which versions of Angular, Material, OS, browsers are affected?

Latest.

Most helpful comment

@dahaupt Thanks. I wrapped it in textarea html tag. Sorry. :(
ps - also I noted that 'align' should be equal 'end' instead of 'right'.

All 4 comments

@szykov You should use it this way:

<md-input-container>
    <textarea mdInput [(ngModel)]="exampleText"></textarea>
    <md-hint align="right">md-hint-example</md-hint>
</md-input-container>

@dahaupt Thanks. I wrapped it in textarea html tag. Sorry. :(
ps - also I noted that 'align' should be equal 'end' instead of 'right'.

@szykov No problem, we all make some little mistakes. You're welcome :)

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jelbourn picture jelbourn  路  3Comments

MurhafSousli picture MurhafSousli  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

theunreal picture theunreal  路  3Comments

vitaly-t picture vitaly-t  路  3Comments