hpe-design-system icon indicating copy to clipboard operation
hpe-design-system copied to clipboard

Create Tag Examples - Update example so that the new tag is created onEnter

Open halocline opened this issue 3 years ago • 6 comments

Regarding the create and assign tags examples:

  • https://design-system.hpe.design/components/tag#assigning-value-only-tags
  • https://design-system.hpe.design/components/tag#assigning-name-value-tags)

We have received feedback that the UX would be improved for creating a new tag in the following manner:

Expected Behavior

Open select options --> enter new tag name into text input --> press Enter key --> tag name/value is created

as well as

Open select options --> enter new tag name into text input --> press down arrow to reach option "Create [text input value]" --> press Enter key --> tag name/value is created

Actual Behavior

The first option does not work. Only the second sequence.


The desired behavior is similar to adding a new label value to an issue in Github.

Screen Shot 2022-01-26 at 3 50 50 PM

halocline avatar Jan 26 '22 22:01 halocline