Autocomplete - unable to select text in input by Shift+Home


Topic: Autocomplete - unable to select text in input by Shift+Home

meesha81 pro premium priority asked 1 months ago

Expected behavior In the form input with autocomplete you should be able to select text by Shift+Home.

Actual behavior Type some text into autocomplete. Press Shift+Home, text is not selected. It is interesting that your implementation selects the text in the input with autocomplete on https://mdbootstrap.com/ (search input)

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/meesha81/6132285


Kamila Pieńkowska staff answered 1 months ago

Our navbar is not a autocomplete component. It's custom component written for our own use so it works differently.


meesha81 pro premium priority answered 1 months ago

Okey, so it is propably not correct behavior, because if you want to select text (home + shift) and rewrite by new query, it is impossible to do it. I think that there is no reason for blocking shift+home (home works, but why shift doesen't?)


Kamila Pieńkowska staff commented 1 months ago

we are planning to intoduce this bahaviour soon.


meesha81 pro premium priority commented 1 months ago

hi, thank you for information, it would be really nice!


meesha81 pro premium priority answered 4 weeks ago

Hi, I have tried 7.3.1, but there is no change, Shift+Home/Shift+End do not select text... am I right? I have updated my snippet and it is also not working as snippet.

https://mdbootstrap.com/snippets/standard/meesha81/6132285


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: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.0
  • Device: PC
  • Browser: Chrome
  • OS: WIN
  • Provided sample code: No
  • Provided link: Yes