No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    ENTER key as navigational key and QSelect behaviour

    Framework
    1
    1
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • labs20
      labs20 last edited by

      Hi.

      For some reasons I must implement form fields navigation with both TAB and ENTER key.
      When it comes to be focused on a QSelect, I must obey the following:

      • IF the user press TAB => then tab out to next
      • IF the user press ENTER
        • IF QSelect already has value => then tab out to next
        • ELSE => Open QSelect options
      • IF the user press DONW => Open QSelect options

      It would be an easy task if just QSelect wouldn trap the bubbling out for the ENTER and DOWN keys.

      I’ve tryed with key[up|down|press].native with no success, so, in a nutshell, I must be able to interrupt the QSelect options to show up when the user press the default keys to do it, and do something else in the same key press event.

      Please, pretty please, allow those key to bubble, even if by some prop configuration.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post