lorawan-stack
lorawan-stack copied to clipboard
Improve `<Form />` component
Summary
There a bunch of improvements we can implement for the <Form /> component.
Why do we need this?
Performance, UX improvements.
What is missing? What do you want to see?
- [ ] Resolve https://github.com/TheThingsNetwork/lorawan-stack/blob/v3.10/pkg/webui/components/form/field/index.js#L128-L129
- [ ] Update
formikandyupto the latest versions. - [ ] Do not rerender all fields when processing a single input:
- [ ] Adjust field error/warning styles to avoid shifting all content below the errored field:
- [ ] Do not remove error messages after
onBlurevent on fields without any changes to the input before the next submission:
How do you propose to test this?
Manual testing
Can you do this yourself and submit a Pull Request?
yes