TextField doesn't provide TextFieldStateContext
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 1.6k
- Avg merge
- 3d 9m
- Merged PRs (30d)
- 59
Description
### Provide a general summary of the issue here
I believe `TextFieldStateContext` should be provided, so that we can reset the field's context when clicking a clear button.
### 🤔 Expected Behavior?
The `TextFieldStateContext` to be provided.
### 😯 Current Behavior
No such context exists
### 💁 Possible Solution
_No response_
### 🔦 Context
_No response_
### 🖥️ Steps to Reproduce
Install the package, try to import `TextFieldStateContext`
### Version
react-aria-components 1.5.0
### What browsers are you seeing the problem on?
Firefox
### If other, please specify.
_No response_
### What operating system are you using?
alpine linux edge
### 🧢 Your Company/Team
_No response_
### 🕷 Tracking Issue
_No response_
Contributor guide
Research direction
Start by reproducing the import of TextFieldStateContext from react-aria-components 1.5.0, then trace the TextField state API and related package exports. Done means the context is available to consumers and supports resetting the field context when a clear button is clicked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100