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

fix: use first dropdown option as the default value #2465

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

FrederikBolding
Copy link
Member

Fixes a problem where the default state for a dropdown would be null even though the UI would show option 1 as selected.

We fix this by using option 1 as the default state value if nothing is specified.

@FrederikBolding FrederikBolding requested a review from a team as a code owner June 6, 2024 07:49
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.34%. Comparing base (0c166a9) to head (7cd6f4e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2465   +/-   ##
=======================================
  Coverage   94.33%   94.34%           
=======================================
  Files         438      438           
  Lines        9039     9052   +13     
  Branches     1384     1391    +7     
=======================================
+ Hits         8527     8540   +13     
  Misses        512      512           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FrederikBolding FrederikBolding merged commit ef93601 into main Jun 6, 2024
153 checks passed
@FrederikBolding FrederikBolding deleted the fb/fix-default-dropdown-state branch June 6, 2024 10:22
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