Topic: mdb-select using tab
                  
                  itay
                  pro
                  asked 7 years ago
                
Hi,
How can a user select from an mdb-select element using the arrows and then Tab key instead of or in addition to the Enter key ?
                      
                      Arkadiusz Idzikowski
                      staff
                        answered 7 years ago
                    
Dear mdb2,
This feature is not available in the current version of mdb-select. We will consider adding it in the future.
Regards,
Arek
                      
                      itay
                      pro
                        answered 7 years ago
                    
Since a user can select AutoComplete by entering text and using tab to go to next element, the same behavior is expected also from select.
Additionally, using Enter in a form is considered bad practice because Enter is used to submit a form.
Perhaps I can listen on arrow keys to determine selected index and use it "onBlur".
Perhaps "onBlur" can determine selected value by its CSS class ?
                      
                      Damian Gemza
                      staff
                        answered 7 years ago
                    
Dear mdb2,
Your desired behavior can't be achieved with our mdb-select, because it doesn't pick options on blur. The mdb-select picks options on click, so you cant pick options with the tab key.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: 6.2.3
 - Device: NA
 - Browser: NA
 - OS: NA
 - Provided sample code: No
 - Provided link: No