ui-material-components
ui-material-components copied to clipboard
[MDTextField][MDTextView][Android] Helper seems not to work
I simply set property helper on both MDTextField and MDTextView, but the helper text doesn't show. Please see below code snippets and screenshots. Thank you for your support!
MDTextField
<FlexboxLayout>
<MDTextField class="input" #email formControlName="email" helper="test" [hint]="'EMAIL' | translate" autocorrect="false"
autocapitalizationType="none" returnKeyType="next" (returnPress)="password.focus()"
(blur)="trimFormControlValue('email')" variant="outline" placeholderColor="#9196A1">
</MDTextField>
</FlexboxLayout>
The two small dots under the text field seem from the two t in word test 🤔

MDTextView
<FlexboxLayout>
<MDTextView class="incident-comment" variant="outline" placeholderColor="#9196A1" floating="true"
[hint]="('Comment...' | translate) + (incidentType.id === 'OTHER' ? '*' : '')"
helper="test" returnKeyType="next"
(textChange)="onCommentChange($event)">
</MDTextView>
</FlexboxLayout>

@cloudhx are you enforcing TextField, TextView height? I tested here and if i dont enforce height i see the helper text. With TextView at least, if i set the height, then i dont see it
@farfromrefug I enforced height for TextView but not TextField. I think I also tried not enforcing height for TextView, it didn't show helper either. I will double check it and update the code and screenshot