FormField: add Disabled prop
Open
Beginner friendly
Nobody has claimed this yet.
triage
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Package
v4.x
Description
Currently the formField is missing an disabled state. It should set the labels, descriptions, etc. in a lighter, disabled state. Example:
https://react.carbondesignsystem.com/?path=/story/components-numberinput--default&args=disabled:!true
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the FormField component entry point and compare its current label and description styling with the linked disabled-state example. Add the Disabled prop behavior so those supporting elements use a lighter disabled state, then verify the component renders consistently in that state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100