Topic: Autocomplete does not support array of objects
eladhr83 free asked 4 years ago
Expected behavior
Initialize autocomplete data property with array of objects like: {value:'some val',text:'some text'}.I need to get the object once a value has been selected from the autocomplete data list.
Actual behavior
Because we send an array of strings, we get only a string and not it's corresponding value(id for example like in mdb-select)
Magdalena Dembna staff answered 4 years ago
As for now we don’t support this feature - we will discuss it with our team, but we cannot promise anything - the whole idea with autocomplete is about getting your word completed and extracting the value with v-model. Kind regards, Magdalena
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.5.0
- Device: pc
- Browser: chrome
- OS: ubuntu
- Provided sample code: No
- Provided link: No