Topic: Autocomplete default value
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 ?
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
Tags
Related topics
Arkadiusz Idzikowski staff commented 2 years ago
@estalis Did you attach the Angular
FormControl
to the autocomplete input and set default value like thisnew FormControl('value')
?