1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-12 13:00:04 +02:00
copilot/spikes/form/redux-form/readme.md

17 lines
800 B
Markdown
Raw Normal View History

# redux-form
## summary
- [x] form values in redux store
- [x] clear / retain values in store
- [x] pre-populate form
2017-01-06 13:31:16 +02:00
- [x] validation on field / form level
- [x] multi page form
2017-01-06 13:31:16 +02:00
- [x] custom form components
- [ ] requires updates to existing ui components as props to custom components are passed in the following format:
`"props": { "input": "value": "", "name": "", "onChange": "", "onFocus": "", ... }, "meta": { "valid": "", "error": "", ... }, "anyOtherPropsOnField": "", ... }`
- [ ] explore proxying props from Field to custom components from above shape to a flat form as expected by custom components
- [ ] consider creating component that handles logic and display of label and error which would be reused by form components to avoid code duplication for this functionality