mirror of
https://github.com/google/nomulus
synced 2026-01-05 04:56:03 +00:00
34 lines
912 B
HTML
34 lines
912 B
HTML
<div class="console-app__registrar">
|
|
<mat-form-field
|
|
class="example-full-width"
|
|
class="mat-form-field-density-5"
|
|
appearance="outline"
|
|
>
|
|
<mat-label>Registrar</mat-label>
|
|
<input
|
|
type="text"
|
|
placeholder=""
|
|
aria-label="Select Registrar"
|
|
matInput
|
|
[ngModel]="registrarInput()"
|
|
(ngModelChange)="registrarInput.set($event)"
|
|
[ngModelOptions]="{ standalone: true }"
|
|
(focus)="onFocus()"
|
|
[matAutocomplete]="auto"
|
|
/>
|
|
<mat-autocomplete
|
|
autoActiveFirstOption
|
|
#auto="matAutocomplete"
|
|
(optionSelected)="onSelect($event.option.value)"
|
|
>
|
|
@for (registrarId of filteredOptions; track registrarId) {
|
|
<mat-option
|
|
[value]="registrarId"
|
|
selected="registrarId === registrarService.registrarId()"
|
|
>{{ registrarId }}</mat-option
|
|
>
|
|
}
|
|
</mat-autocomplete>
|
|
</mat-form-field>
|
|
</div>
|