ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
27 lines (26 loc) • 806 B
HTML
<sf-item-wrap [id]="id" [schema]="schema" [ui]="ui" [showError]="showError" [error]="error" [showTitle]="schema.title">
<input
nz-input
[]="auto"
[]="id"
[]="disabled"
[]="disabled"
[]="ui.size"
[(ngModel)]="typing"
(ngModelChange)="_setValue($event)"
[]="schema.maxLength || null"
[]="ui.placeholder"
autocomplete="off"
/>
<nz-autocomplete
[]="i.backfill"
[]="i.defaultActiveFirstOption"
[]="i.width"
(selectionChange)="updateValue($event)"
>
<nz-auto-option *ngFor="let i of list | async" [nzValue]="i" [nzLabel]="i.label">
{{i.label}}
</nz-auto-option>
</nz-autocomplete>
</sf-item-wrap>