Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

MdcIconButton doesn't display properly in mdc-text-field #2255

Open
PabloG6 opened this issue May 3, 2020 · 0 comments
Open

MdcIconButton doesn't display properly in mdc-text-field #2255

PabloG6 opened this issue May 3, 2020 · 0 comments

Comments

@PabloG6
Copy link

PabloG6 commented May 3, 2020

MdcIconButton doesn't display according to specifications in text field.

<mdc-form-field fluid>
    <mdc-text-field [type]="showPassword ? 'text' : 'password'" label="Password" outlined>
       <button mdcIconButton mdcTextFieldIcon trailing [on]="true" (click)="showPassword = !showPassword">
       <mdc-icon mdcIconOn>visibility</mdc-icon>
     <mdc-icon>visibility_off</mdc-icon>
     </button>
 </mdc-text-field>
</mdc-form-field>`

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant