Closed sverhoeven closed 2 years ago
Name | Link |
---|---|
Latest commit | f57075dd68022fd430a9f6d661f4e797c5213f02 |
Latest deploy log | https://app.netlify.com/sites/wonderful-noether-53a9e8/deploys/62e3944d2c526000084a248c |
Deploy Preview | https://deploy-preview-98--wonderful-noether-53a9e8.netlify.app/ |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
This implementation blocks you from having a checkbox that must be checked to submit form. For example to agree to terms like a license.
Thanks for reviewing
Fixes #67
To test
yarn && yarn dev
and goto http://localhost:3000mdref
node to workflow+
button, this will add an unchecked checklboxmol_shape_1 = false
, before this PR it would have an invalid form.yarn storybook
Checkbox
Unchecked Checkbox In Array Is Submiteable
storySubmit
button, should not complain and in actions tab have a new entry with onSubmit[0].formData key have value[false, true]
. The story presses the submit button when opening the story, so you will see 2 actions.packages/form/
and runyarn test
packages/form/src/IvresseCheckBoxWidget.test.tsx
and pass.~This PR also adds vitest to form package and upgrades rjsf to latest version.~ Moved to #100