AlessioB free asked 2 years ago
Is there a way to intercept the entry of a value not included in the autocomplete list?
I'm triyng to manage the search input change event + itemSelect.mdb.autocomplete not fired event. Is this the right way?
I have an async autocomplete element where user search for the existence of an object. If the text typed don't match any object in DB the user can continue, otherwise happen something else. So, the question is: how I can handle the empty results list? In fact the itemSelect.mdb.autocomplete event won't fired in case of no choice.
The example can be: the list of values for the autocomplete is a list of numbers from 1 to 5. The user enters 6. How do I intercept this user choice?
I managed this checking the input change event waiting two tenths of a second, just to see if itemSelect.mdb.autocomplete do his work, if notting happens, the choice isn't in the DB.
I hope I was clear
Hello, Ax! I don't quite understand what are you trying to achieve. Can you please tell me some more details?
Thank you for reaching us! Best regards,
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: PC
- Browser: Edge
- OS: Windows 10
- Provided sample code: No
- Provided link: No