AddressInputComponent

Source big-picture

Component to select an account or contract address. For autocompletion processes, the addressbook of the current user is used. But also wildcard addresses can be inserted.

Example

Reference Implementation: Verifications DApp

  • html

    <evan-address-input name="subject" #subjectSelectComp
    

    [(ngModel)]=”subjectInput” [label]=”(‘_verifications.subject.title’ | translate) + ‘*’” [placeholder]=“‘_verifications.subject.desc’ | translate” (onChange)=”ref.detectChanges()”>

    </evan-address-input> <ion-chip class=”error-hint” *ngIf=”subjectSelectComp.touched && !isValidAddress(subjectInput)” color=”danger”>

    <ion-label>{{ ‘_verifications.subject.error’ | translate }}</ion-label>

    </ion-chip>

View Example

angular-core/components/../../images/angular-core/components/address-input/address-input.png angular-core/components/../../images/angular-core/components/address-input/address-input-2.png