JedWatson / JedWatson/react-select
Component is not disabled when inside a fieldset component
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am currently trying to disable all my input component dynamically.
The easiest way to do that is to encompass all of them inside a fieldset html component adding the property disabled.
It works fine for all my other input components but unfortunately it doesn't for the ones using your library, the Select is still usable.
Is there a workaround ?
Thanks in advance
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 by reproducing the Select inside a disabled HTML fieldset and compare its behavior with native inputs. Trace the Select entry point to determine how fieldset-disabled state is handled; done means the Select can no longer be used when its containing fieldset is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100