Skip to content

How to modify combobox to support items not in list #24

Description

@tachang

Hi Daniel,
Thanks for providing such a great looking plugin!

I am trying to modify the code to support items not in list. So if someone types something in and presses tab it acts like an input box. I am a bit confused as to where to change the code to get this behaviour.

I've looked at these lines:

    case 9: // tab
    case 13: // enter
      if (!this.shown) return
      this.select()
      break

Any chance you could give some hints as to how to do it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions