Skip to content

bug: Text Input, text colour for defaultValue when disabled #1622

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
PatrickMunsey opened this issue Feb 21, 2023 · 1 comment
Closed

bug: Text Input, text colour for defaultValue when disabled #1622

PatrickMunsey opened this issue Feb 21, 2023 · 1 comment

Comments

@PatrickMunsey
Copy link

What version of daisyUI are you using?

2.49.0

Describe your issue

I'm implementing some forms with disabled fields using the 'business' theme and I'd like to make a suggestion to make the text colour a bit darker for a disabled text input with a defaultValue or value specified similar to when placeholder is.

With darker themes, disabled inputs are not immediately distinguishable from active inputs without hovering, when a defaultValue/value is used to populate the input instead of a placeholder.

Disabled field with placeholder specified

disabledFieldWithPlaceholder

Disabled field with defaultValue specified

disabledFieldWithDefaultValue

Field with Placeholder specified

FieldWithPlaceholder

Field with defaultValue specified

FieldWithDefaultValue

Would be good to know your thoughts. Thanks

What browsers are you seeing the problem on?

Edge

Reproduction URL (optional)

https://play.tailwindcss.com/MRPWesNq4H

@35grain
Copy link

35grain commented Apr 8, 2023

Agreed. Currently it looks like it is interactable. Also, the border colour on disabled inputs makes the input look taller than normal inputs if placed next to each other, which isn't that nice to look at.

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

2 participants