Skip to content

Add a component for selecting multiple items #486

@carolyncole

Description

@carolyncole

Extract the component from tigerdata to allow a user to select multiple items from a list and put the selected items below. See this UI pattern from the tigerdata department selector

Image

https://github.com/pulibrary/tigerdata-app/blob/main/app/views/new_project_wizard/_form_department_input.html.erb

Acceptance criteria

  • I can successfully use this feature with Voice Over in Safari.
  • I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues:
    • axe dev tools
    • Lighthouse
    • Wave
  • I can either pass a list of values that the user can select from
  • I can use ajax to change the list based on user input
  • I create an element below the list for each item selected
  • This item could be a slot so that we can have multiple options for what gets created
  • It can have place holder text and the place holder text does not collide with the selected option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions