Topic: Searchable Select, one too many keystrokes
                  
                  kgp43
                  free
                  asked 5 years ago
                
denmark
ddenmark
I'm using the Searchable Select (pro) menu, that let my users search for items in the menu.Quite a few users have been complaining about they have to type the first letter twice, since the first keystroke activate the search field - but it does not insert the keystroke.
Example:I need to search for "denmark"I have to type "ddenmark"
Is it possbible to make the frist keystoke add to the search field, at the same time it activate the search field?
<select class="mdb-select md-form " id="inputSR{{$i}}" searchable="Search here.." name="softreserves[]">
<option value="" disabled selected>Search or select item</option>
@foreach($items as $item)
    <option value="{{ $item->id }}" data-secondary-text="Dropped by: {{ $item->boss }}">{{ $item->name }}</option>
@endforeach
                
                  
                      
                      Krzysztof Wilk
                      staff
                        answered 5 years ago
                    
Hi!
I see that problem, unfortunately, that's a bug. I added a task for it to our board and we'll fix it as soon as possible :)
Best regards
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 jQuery
 - MDB Version: 4.19.1
 - Device: Computer
 - Browser: Chrome
 - OS: Windows
 - Provided sample code: No
 - Provided link: No
 
Mikołaj Smoleński staff commented 5 years ago
Are You sure it's related to the latest mdb5 version? I just tested it and it looks fine. Here's our demo: https://mdbootstrap.com/docs/standard/forms/select/#section-search
Best regards
kgp43 free commented 5 years ago
I'm using this one: https://mdbootstrap.com/docs/jquery/forms/select/#searchable