listAutoFocus property

  1. @Input()
bool listAutoFocus
getter/setter pair

Whether to focus the options list by default when the popup opens.

Should be set to false when another element in the popup is focused on open, e.g. a search box.

Implementation

@Input()
bool listAutoFocus = true;