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(select): add selectByValue prop to autopopulate an option #768

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

Conversation

christieb7007
Copy link
Contributor

pass a prop to autoselect an option based on the value or specific key of the value. Useful for when you want to autopopulate the select w/o having the entire option data for initialValues

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #768 (69d3505) into master (016a458) will decrease coverage by 1.17%.
The diff coverage is 82.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #768      +/-   ##
==========================================
- Coverage   89.46%   88.29%   -1.18%     
==========================================
  Files          95      104       +9     
  Lines        2222     3042     +820     
  Branches      571     1053     +482     
==========================================
+ Hits         1988     2686     +698     
- Misses        192      356     +164     
+ Partials       42        0      -42     
Impacted Files Coverage Δ
packages/analytics/src/Analytics.js 100.00% <ø> (ø)
packages/avatar/Avatar.js 100.00% <ø> (ø)
packages/date/src/DateRangeField.js 100.00% <ø> (ø)
packages/form/src/Checkbox.js 100.00% <ø> (ø)
packages/form/src/Form.js 85.71% <ø> (-14.29%) ⬇️
packages/form/src/FormGroup.js 100.00% <ø> (ø)
packages/form/src/Radio.js 100.00% <ø> (ø)
packages/feedback/src/SupportModal.js 40.00% <40.00%> (ø)
packages/form/src/Field.js 76.74% <44.44%> (-23.26%) ⬇️
packages/feedback/src/SupportDropdown.js 50.00% <50.00%> (ø)
... and 109 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42f0855...69d3505. Read the comment docs.

@availity-bot-cicd
Copy link
Contributor

🚀 Netlify deployed condescending-leavitt-66e607 as draft

https://60edbd88a30be60d3b4c8f49--condescending-leavitt-66e607.netlify.app

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.

2 participants