shouldClearSelectionOnInput property

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

Whether to clear the selected value from the selection model when the input text changes.

Defaults to true.

Implementation

@Input()
bool shouldClearSelectionOnInput = true;