app-gg-input

Selector :

 <app-gg-input></app-gg-input>

Ejemplo de uso:

<form (ngSubmit)="login()" [formGroup]="loginForm" 
class="ggInputs_container">

    <app-gg-input
        [_inputID_]="'username-field'" [_tabIndex]="1" [_inputType]="'email'"
        [_marginTop]="'1'" [_marginBottom]="'1'" [_borderRadius]="'30'"
        [_autoFocus]="true" [_waitFocus]="200" [fa_icon]="'fa-user'"
        [hasBtn]="false" [_formControlName]="emailControl"
        [_labelText]="'Select a username...'"
        [_placeHolder]="'email/username'" [isSm]="true">
    </app-gg-input>


    <app-gg-input
        [_inputID_]="'password-field'" [_tabIndex]="2" [_inputType]="'password'" [_autocomplete]="'current-password'"
        [_marginTop]="'1'" [_marginBottom]="'3'" [fa_icon]="'fa-lock'"
        [hasBtn]="false" [_formControlName]="passControl"
        [_labelText]="'Enter your password'"
        [_placeHolder]="'Password'" [isSm]="true">
    </app-gg-input>

  
  </form>

Importante: Sin la clase de 'ggInputs_container' - no funciona correctamente. Esta clase debe ir en el padre (o en el <form> del input)

ggInputs_container

Last updated

Was this helpful?