Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request rendering variation to multiselect dropdown, aligned with PrimeReact #1050

Open
robeastwood-agency opened this issue Nov 13, 2024 · 1 comment

Comments

@robeastwood-agency
Copy link

Is your feature request related to a problem? Please describe.
Not a problem per se, but a quest to improve user experience

Describe the solution you'd like
Currently:
Questionnaire items of type choice when configured as a drop down and multiselect, render as follows, with an 'add item' button.
Refer Storybook item: https://smartforms.csiro.au/storybook/?path=/story/component-sdc-8-1-4-advanced-other--repeats-autocomplete&globals=backgrounds.grid:!false;viewport:tablet

image

Request:
The user experience team has requested that a rendering variation for multiselect be added as an option, consistent with the PrimeReact' library for multiselect; see here: https://primereact.org/multiselect/

Effectively then checkboxes may be rendered within the list like this:
image
or this:
image

Describe alternatives you've considered
none

Additional context
none

@fongsean
Copy link
Collaborator

Hi @robeastwood-agency,

Sounds like a good idea. Material UI also has something similar though doesn't look as good: https://mui.com/material-ui/react-select/#chip.

There needs to be some degree of work to ensure it plays well with open-choice's openLabel. I think it makes sense to have it in the backlog for now and come back to it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants