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

feat(Dropdown): add allowReselection prop #4450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CofCat456
Copy link

Fixes #4415

This PR adds the allowReselection prop to the Dropdown. This enables user to trigger onChange events even when reselecting same value.

I think I've resolved the issue. If there are any omissions or areas that need modification, feel free to provide suggestions!

Copy link

welcome bot commented Dec 25, 2023

💖 Thanks for opening this pull request! 💖

Here is a list of things that will help get it across the finish line:

  • Run yarn lint locally to catch formatting errors. This will fix some errors automatically, commit and push any changes.
  • Run yarn test locally to catch errors. This ensures all components still behave as they should.
  • Run yarn start to run the doc site locally and try a few pages, ensuring everything is in good working order.
  • Include tests when adding/changing behavior.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

Copy link

codecov bot commented Dec 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e243fa4) 99.51% compared to head (1c170d8) 99.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4450      +/-   ##
==========================================
- Coverage   99.51%   99.51%   -0.01%     
==========================================
  Files         186      186              
  Lines        3512     3511       -1     
==========================================
- Hits         3495     3494       -1     
  Misses         17       17              

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

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.

Add dropdown allowReselection
1 participant