Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LinqAsyncAutocompleteComponent

Implements

  • OnChanges
  • AfterViewInit

Index

Constructors

Properties

accessor: LinqAsyncAutocompleteAccessor<string> = ...

Custom data accessor when the supplied options are complex objects

ariaLabel: string

Label for the aria attribute

asyncValidators: AsyncValidatorFn[] = []

Optional async validators to run against the selected list

disabled: boolean = false

Boolean to disable the search input and chips list

displayWith: any = null

Function that maps an option's control value to its display value in the trigger.

errorMessage: string = ...

Message displayed when any validator fails

hint: string

Input hint

inputChange: EventEmitter<any> = ...

Event when the search input value changes

inputFormControl: FormControl = ...

Optional formControl to override the default formControl

inputId: string

Value of the html id attribute

inputName: string

Name of the html input field

isRequired: boolean = false
label: string

Input label

loading: boolean = false

Toggle for displaying the loading UI as a menu option

optionRef: TemplateRef<unknown>

Optional template override for the mat-option content

options: unknown[]

Preformatted data used for mat-options in the menu

placeholder: string = ...

Search input placeholder text

validators: ValidatorFn[] = []

Optional validators to run against the selected list

value: any

Default selected value

valueChange: EventEmitter<any> = ...

Event when the value is selected from the autocomplete menu

Methods

  • getOption(option: any): string
  • Parameters

    • option: any

    Returns string

  • ngAfterViewInit(): void
  • Returns void

  • ngOnChanges(changes: SimpleChanges): void
  • Parameters

    • changes: SimpleChanges

    Returns void

  • optionSelectedEvent(event: any): void
  • Parameters

    • event: any

    Returns void

Generated using TypeDoc