availity-react icon indicating copy to clipboard operation
availity-react copied to clipboard

feat(select): add selectByValue prop to autopopulate an option

Open christieb7007 opened this issue 3 years ago • 2 comments

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

christieb7007 avatar Jul 13 '21 16:07 christieb7007

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%) :arrow_down:
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%) :arrow_down:
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.

codecov[bot] avatar Jul 13 '21 16:07 codecov[bot]

🚀 Netlify deployed condescending-leavitt-66e607 as draft

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

availity-bot-cicd avatar Jul 13 '21 16:07 availity-bot-cicd