Skip to content

Commit

Permalink
fix #151 - Fix form toggle submit (#152)
Browse files Browse the repository at this point in the history
Closes #151
  • Loading branch information
nancy-dassana authored Nov 23, 2020
1 parent 68a74d0 commit 852fe69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dassana-io/web-components",
"version": "0.7.1",
"version": "0.7.2",
"publishConfig": {
"registry": "https://npm.pkg.github.com/dassana-io"
},
Expand Down
2 changes: 0 additions & 2 deletions src/components/Form/FormToggle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ const FormToggle: FC<FormToggleProps> = ({

const classes = useStyles({ fullWidth })

rules.required = true

const defaultValue = (initialValues[name] as boolean) || defaultChecked

// TODO: add info tips
Expand Down

0 comments on commit 852fe69

Please sign in to comment.