Skip to content

Omit the requirement to specify the type attribute for the text inputs #2

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

Closed
wants to merge 3 commits into from

Conversation

hivokas
Copy link

@hivokas hivokas commented Nov 12, 2020

That's not a huge deal to support it. So why not.

@vercel
Copy link

vercel bot commented Nov 12, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tailwindlabs/tailwindcss-forms/8kx3wz2kc
✅ Preview: https://tailwindcss-forms-git-patch-1.tailwindlabs.vercel.app

@adamwathan
Copy link
Member

Hey! The issue is that selector has a specificity of 011 and regular classes are only 010, so you cannot customize with utilities.

For example this won't work:

<input class="border-red-500">

Thanks though! Would be awesome if this was possible :(

@adamwathan adamwathan closed this Nov 12, 2020
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