Autocomplete default value


Topic: Autocomplete default value

estalis asked 2 years ago

alright so im using autocomplete with reactive forms.

it works great, but when i want to use a default value, the autocomplete deoesn't gets updated in the autocomplete. the input is still blank.

how to "refresh" the autocomplete or set the value ?


Arkadiusz Idzikowski staff commented 2 years ago

@estalis Did you attach the Angular FormControl to the autocomplete input and set default value like this new FormControl('value')?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 2.2.0
  • Device: who cares
  • Browser: who cares
  • OS: who cares
  • Provided sample code: No
  • Provided link: No