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

Create multi mode combobox #3096

Open
Tracked by #2832
Barsnes opened this issue Feb 4, 2025 · 0 comments · May be fixed by #3097
Open
Tracked by #2832

Create multi mode combobox #3096

Barsnes opened this issue Feb 4, 2025 · 0 comments · May be fixed by #3097
Assignees
Labels
react @digdir/designsystemet-react

Comments

@Barsnes
Copy link
Member

Barsnes commented Feb 4, 2025

API will be similar to Suggestion. We will use u-tags.

It will display chips, always before the input. We will not let the user render chips themselves, but we will let them customize how they look:

<*.Chips
  render={(..) => return JSX}
/>

By default, creation mode is turned off, consumers can turn this on.

Designers will investigate how it will look visually. Today our multiple mode combobox has a checkbox before each option. we are unsure if we still want/need this.

@github-project-automation github-project-automation bot moved this to 🔵 Inbox in Team Design System Feb 4, 2025
@Barsnes Barsnes self-assigned this Feb 4, 2025
@Barsnes Barsnes added the react @digdir/designsystemet-react label Feb 4, 2025
@Barsnes Barsnes linked a pull request Feb 4, 2025 that will close this issue
@Barsnes Barsnes moved this from 🔵 Inbox to 🏗 In progress in Team Design System Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react @digdir/designsystemet-react
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

1 participant