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

Solving issue #20 feat: add combobox component #22

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

Conversation

The-x-35
Copy link

Solving issue #20 . Added a combobox component just like shadcn has, also added the search feature and took props input, the items to be entered separated by commas(,).I also added the feature to edit placeholder and search place holder. I have test the code and it works perfectly.

Copy link
Member

@anwarulislam anwarulislam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The component is not completed yet.
Instead of passing string and splitting it to filter is not a good idea.

  1. Pass an array and search on that array
  2. By default input field should be focused when we click
  3. Button navigation should work
  4. We should be able to pass slot as well.

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