Skip to content

Allow highlightOnlyResult and selectHintOnEnter with custom tags #505

@jipis

Description

@jipis

The short version is to let highlightOnlyResult work with allowNew -- especially for the new entry.

I'm creating tags. There's a list of existing tags that I've prepopulated into the options. But, I also want to allow new tags to be created with allowNew. I want the user to be able to use the ENTER key to select the (existing) tag that he's started to type. Using selectHintOnEnter does a good enough job for this. But, if the user wants to add what he's typed as a new tag, he can't just ENTER.

I think that this is normal behavior in other places. I feel like the "standard tag interface" (if there is such a thing) works this way. Type - ENTER - type - ENTER - type - ENTER. If the tag already exists, great. If not, still great. Right?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions