freenowtech / freenowtech/wave
How to implement form controls? Controlled/Uncontrolled components
Open
question
- Dominant language
- TypeScript
- Stars
- 67
- Forks
- 31
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
### Support questions
There are some scenarios where folks need to have control over the value of a form control in order to be able to satisfy the requirements, currently, most of our implementations are uncontrolled components that encapsulate the state value within the implementation and can't be accessed from outside.
**Should we aim to have components that work out of the box but also expose a prop to control the state if needed?**
_Similar to the approach described at https://egghead.io/lessons/react-make-controlled-react-components-with-control-props_
Contributor guide
Assessment
This issue has not been assessed yet.