Topic: First character occurs twice in search box
exensio priority asked 3 years ago
Expected behavior When clicking a select box the dropdown is opening. When I now directly start typing one character it should occur only one time in the search box.
Actual behavior When clicking the select box one time the dropdown is opening as expected.
When you now directly start typing, the first character is inserted twice in the searchbox. If you for example type "a" you will see "aa" in the search box.
The problem occurs when you have more than one select box on a page.
Resources (screenshots, code snippets etc.) Example for reproducing the problem: https://mdbootstrap.com/snippets/jquery/exensio/1806964
You use MDB 4.10.1, and a bug was present in this version od MDB. I created a snippet with your code but with latest version of MDB. Check it out: https://mdbootstrap.com/snippets/jquery/mateusz-lubianka/1809518?action=forum_snippet
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: 4.10.1
- Device: notebook
- Browser: chrome / firefox
- OS: everywhere
- Provided sample code: No
- Provided link: Yes