Select with search box not working properly


Topic: Select with search box not working properly

gaurav soni pro asked 5 years ago

Expected behavior 1. When clicking on the textbox, the focus should automatically go to the search box in the dropdown 2. Pressing on the down / up arrow on the keyboard should move the selection in the input dropdown 3. Clicking on the Enter key should add the selected value in the inputbox

Actual behavior

None of the above-mentioned functionalities are working as expected.

Resources (screenshots, code snippets etc.)

Have copied the exact code given as the sample.


Piotr Glejzer staff answered 5 years ago

Hi,
do you have some errors in the console? It's weird because it working normally on my computer ( windows/chrome).

Best,
Piotr


gaurav soni pro commented 5 years ago

No errors in the console either, I tried it both Chrome and Firefox.


gaurav soni pro answered 5 years ago

@Piotr Glejzer , no still not working. I downloaded a brand new project from the Order menu and just installed the dependencies. Instead of using the MDPro zip file given in the demo. I am using the GitLAB repo URL in package.json

Have a look here - https://gifyu.com/image/hrSg


Piotr Glejzer staff commented 5 years ago

Can you remove your node modules folder and install it again? Cause I really don't see a problem with this code because I downloaded the latest version from gitlab and everything is working well. Thanks.


gaurav soni pro commented 5 years ago

Tried that as well. Same issue.


Piotr Glejzer staff commented 5 years ago

We tested this on Mac and it is working. Can you copy and paste this code? Thanks and sorry about this problem.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.19.2
  • Device: MAC
  • Browser: Chrome
  • OS: Mojave
  • Provided sample code: No
  • Provided link: No