You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
⚠️ BREAKING CHANGES ⚠️
Overhaul all form components to follow a state-led onChange handling, instead of mucking around with direct DOM
events, meaning instead of onChange={e => doSomething(e.target.value)} you can now just do onChange={value => setValue(value)} and do whatever you want using the useState hook.
GENERIC CHANGES
Add CheckboxGroup and SwitchGroup components, that work in the same way as RadioGroup
Add FileUpload component with drag-and-drop support
Revamp FileUpload with drag-and-drop support and multiple file upload support
Textarea now has a charLimit and wordLimit props, along with warning and error messages