Skip to content

Disabled text fields: dim the value, placeholder and message (2.6.2) - #131

Merged
DerekAgility merged 1 commit into
mainfrom
dlo/disabled-input-styles
Oct 13, 2026
Merged

DerekAgility merged 1 commit into
mainfrom
dlo/disabled-input-styles

Conversation

@DerekAgility

Copy link
Copy Markdown
Contributor

Summary

TextInput (via InputField), TextArea and Combobox had no disabled styling on the field itself. The placeholder, value and helper message looked the same as an enabled field; only the label dimmed.

  • Field: when disabled, the value is gray-400, the placeholder is gray-300, and the cursor is not-allowed (disabled: classes in InputField, TextArea and Combobox).
  • Helper message: gray-400 when disabled. This overrides the red error colour, since the user can't fix a disabled field.
  • Select, Checkbox and Radio already dim the whole control with opacity-50 and are unchanged.

Bumps the version to 2.6.2 and adds a CHANGELOG entry.

Testing

  • tsc --noEmit is clean.
  • vitest run stories/molecules/inputs: 61/61 pass.
  • Not yet checked visually in Storybook.

🤖 Generated with Claude Code

TextInput (via InputField), TextArea and Combobox had no disabled styling
on the field, so the placeholder, value and helper message looked active.
Only the label dimmed.

Disabled fields now show the value in gray-400, the placeholder in
gray-300 and a not-allowed cursor. The helper message turns gray-400,
overriding the error colour. Select, Checkbox and Radio already dim via
opacity-50 and are unchanged.

Bumps the version to 2.6.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
plenum-ui Ready Ready Preview Oct 13, 2026 6:57pm UTC

Request Review

@DerekAgility
DerekAgility merged commit 00d87f0 into main Oct 13, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — c4f3b9ab Deployed Oct 13, 2026 by vercel[bot]
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