Project

General

Profile

« Previous | Next » 

Revision 61075

[Library | Angular 9]: Update to Angular 9

View differences:

input.component.ts
177 177
  @Input('type') type: 'text' | 'URL' | 'logoURL' | 'autocomplete' | 'textarea' | 'select' | 'checkbox' | 'chips' = 'text';
178 178
  @Input('label') label: string;
179 179
  /** Text */
180
  @ViewChild('input', { static: false }) input: ElementRef;
180
  @ViewChild('input') input: ElementRef;
181 181
  /** Textarea options */
182 182
  @Input('rows') rows: number = 3;
183 183
  /** Select | chips available options */
......
211 211
  public filteredOptions: Observable<Option[]>;
212 212
  public searchControl: FormControl;
213 213
  private subscriptions: any[] = [];
214
  @ViewChild('select', { static: false }) select: MatSelect;
215
  @ViewChild('searchInput', { static: false }) searchInput: ElementRef;
214
  @ViewChild('select') select: MatSelect;
215
  @ViewChild('searchInput') searchInput: ElementRef;
216 216
  focused: boolean = false;
217 217
  
218 218
  constructor(private elementRef: ElementRef) {

Also available in: Unified diff