Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <mat-form-field>
- <input type="text" placeholder="Give Rights" aria-label="User" matInput [matAutocomplete]="auto" (input)="onSearchChange($event.target.value)">
- <mat-autocomplete #auto="matAutocomplete">
- <mat-option *ngFor="let user of users" [value]="user.displayName" (onSelectionChange)="setSelectedUser($event, user)">
- {{ user.displayName }}
- </mat-option>
- </mat-autocomplete>
- <button (click)="resetValue($event)">RESET</button>
- </mat-form-field>
Add Comment
Please, Sign In to add comment