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

Controlled combobox data #232

Merged
merged 8 commits into from
Feb 1, 2024
Merged

Controlled combobox data #232

merged 8 commits into from
Feb 1, 2024

Conversation

coopbri
Copy link
Contributor

@coopbri coopbri commented Feb 1, 2024

Description

Task link: N/A
  • Made Combobox groups optional for situations where content override is used and preferred
  • Added assertion if missing content or groups prop

Test Steps

  • Verify Combobox works well, with and without groups specified
  • Verify assertion is thrown if groups or content is missing (I was going to add a test case for this, but our current test setup is monolithic for rendering 1 instance of a component, so we can do this later after refactoring the test suite to be more flexible)

Copy link

changeset-bot bot commented Feb 1, 2024

🦋 Changeset detected

Latest commit: 9c410e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@animareflection/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coopbri coopbri marked this pull request as ready for review February 1, 2024 22:30
Copy link
Contributor

@Twonarly1 Twonarly1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Works with out without and throws appropriate error.

@coopbri coopbri merged commit a2f415a into master Feb 1, 2024
1 of 2 checks passed
@coopbri coopbri deleted the feat/controlled-combobox branch February 1, 2024 23:33
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

Successfully merging this pull request may close these issues.

3 participants