JedWatson / JedWatson/react-select
"form" attribute in Select doesn't work with FormData
Open
Nobody has claimed this yet.
issue/bug-unconfirmed
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
I have a Select field outside the form tag. So, I have set form prop to Select, But when I'm trying to access the Select field via FormData it doesn't consider the Select field at all.
Below is the live link with issue RP:
https://codesandbox.io/s/hardcore-chatterjee-2kbxys
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 with the linked CodeSandbox reproduction and trace how the Select component handles its form prop and contributes to FormData when rendered outside a form. Done means the Select field is included in FormData when its form prop targets the form.
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
- 42/100