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

450 dropdown search improvements #455

Merged
merged 19 commits into from
Jul 17, 2023

Conversation

j-leidy
Copy link
Contributor

@j-leidy j-leidy commented Jul 13, 2023

  • Searchbar has been moved out of valueItem (Where the value items are populated)
  • Searchbar is now style-able, ref-able, prop-able (Check how I did the style-able, ref-able, prop-able please.. just want to make sure its right)
  • In order to overwrite the value items that get populated in valueItem I created a prop for the dropdown named showSelectedValues. If true, we show them, if false the placeholder remains. ---> I think this makes this PR cover Dropdown | Add ability for placeholder to persist after values are selected #449 as well
  • Searchbar is only visible on focus and its value, visibly and statefully, persists focused or not.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 13, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1ddade3:

Sandbox Source
React Configuration

…input component to merge refs

This allows us to have the input and the container for the input ref-able

re Headstorm#450
src/components/Dropdown/Dropdown.tsx Outdated Show resolved Hide resolved
src/components/Dropdown/__tests__/Dropdown.test.tsx Outdated Show resolved Hide resolved
src/components/Dropdown/Dropdown.tsx Show resolved Hide resolved
src/components/Dropdown/Dropdown.tsx Outdated Show resolved Hide resolved
@aVileBroker aVileBroker merged commit 0b56ee6 into Headstorm:master Jul 17, 2023
1 check passed
@HeadstormOps
Copy link

🎉 This PR is included in version 1.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants