Availity / availity-react

React components using Availity UIKit and Bootstrap 4
https://availity.github.io/availity-react
MIT License
52 stars 30 forks source link

feat(select): add defaultToOnlyOption and defaultToFirstOption for normal selects #1354

Closed christieb7007 closed 10 months ago

christieb7007 commented 10 months ago

Currently only ResourceSelect supports these 2 props, add to basic Select/SelectField

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3ba108e) 92.13% compared to head (aca08fd) 91.40%. Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1354 +/- ## ========================================== - Coverage 92.13% 91.40% -0.73% ========================================== Files 189 20 -169 Lines 5299 733 -4566 Branches 1605 243 -1362 ========================================== - Hits 4882 670 -4212 + Misses 417 63 -354 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.