Topic: Example of autocomplete with remote data based on seachfield
pde.unthsc pro asked 6 years ago
Can you add a good example in the documentation for autocomplete with remote data source based on filter.
msgCH pro answered 6 years ago
Hey there,
we are also searching for an example that describes the problem from the thread owner.
After the user tipped 3 characters in the textfield for example we'd like to call a service based on this user input that delivers the data to the component. We didn't want to load the hole data from the beginning. Is this possible?
Best Regards
Damian Gemza staff commented 6 years ago
Why not? You have to check if input value length is more or equal than 3, and then push data from remote to your data array. Please try this and let me know if this works for you. Best Regards, DamianFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Damian Gemza staff commented 6 years ago
Dear pde.unthsc, Thanks for your idea. We'll think about another examples and we'll try to add in in nearest future. Best Regards, Damian