Topic: autocomplete: search for multiple properties values
iomote pro asked 6 years ago
Dears,
I need to search for various properties of an array of objects in my application. I was tempted to use your mdb-autocomplete component, but it seems to be limited to only one string for search term. Is it correct, or are any wildcards / regex strings available to provide on the
this.completerService.local(array, string, string)
function I can use to have multiple properties search?
Add comment
Arkadiusz Idzikowski staff answered 6 years ago
Dear iomote,
Based on this example:
{ color: 'red', param1: 'test', param2: 'another'}
Do you want to display color name even when user types in the text from other parameters? If I understood your question well, then there is such functionality, but unfortunately it doesn't work correctly at the moment. We need to fix something in the component first.
Regards,
Arek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: Yes
- Provided link: No
Tags