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

Allow overriding of props #1469

Closed
wants to merge 1 commit into from
Closed

Allow overriding of props #1469

wants to merge 1 commit into from

Conversation

KATT
Copy link

@KATT KATT commented May 19, 2022

Background

I'm affected by this bug which make 1Password believe that my Combox is something that it should care about:

Screenshot 2022-05-19 at 10 47 08

As a solution, I wanted to try type="search", as suggested herem on my Combobox.Input but headless UI doesn't allow me to do that as the props are getting overridden.

@vercel
Copy link

vercel bot commented May 19, 2022

@KATT is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented May 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview May 19, 2022 at 8:49AM (UTC)

@RobinMalfait
Copy link
Member

Hey! Thank you for your PR!
Much appreciated! 🙏

I think this change is a bit too dangerous and can have many breaking changes if people already depend on this. We already allow you to provide your own event listeners for example. I think for now I'm going to close this one and instead allow you to override the type prop for the Combobox.Input alone.

This changes will fix your issue and isn't as drastic.

Appreciate the PR though!

@KATT KATT deleted the patch-1 branch May 19, 2022 15:26
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