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

Showing tags inside the input field #38

Open
maxmarcon opened this issue Sep 8, 2023 · 1 comment
Open

Showing tags inside the input field #38

maxmarcon opened this issue Sep 8, 2023 · 1 comment

Comments

@maxmarcon
Copy link
Owner

          @maxmarcon loving what you've started here! is there a known way to get the selected options to appear inside the search input, as shown in the gif above:

Alt Text

Originally posted by @rxndxm in #11 (comment)

@maxmarcon
Copy link
Owner Author

maxmarcon commented Sep 8, 2023

#11 (comment)

Looking more closely these might be better examples :)

https://codepen.io/emah/pen/MWyXqqM
https://codepen.io/smhigley/pen/GRgjRVN

For this second one, looks like the parent is a flexbox, with the selected options having a max-width set, and the input
having flex: 1 1 35%

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

No branches or pull requests

1 participant