diff --git a/package.json b/package.json index 5e6f60f..09daf70 100644 --- a/package.json +++ b/package.json @@ -45,22 +45,22 @@ "react": ">=16" }, "devDependencies": { - "@satel/eslint-config-ts-react": "1.2.1", - "@shopify/polaris": "3.21.0", - "@testing-library/dom": "6.0.0", - "@testing-library/react": "9.1.0", - "@testing-library/user-event": "4.2.4", - "@types/jest": "24.0.17", - "@types/react": "16.9.1", - "@types/react-dom": "16.8.5", - "auto-changelog": "1.14.1", + "@satel/eslint-config-ts-react": "2.0.2", + "@shopify/polaris": "3.21.1", + "@testing-library/dom": "6.1.0", + "@testing-library/react": "9.1.3", + "@testing-library/user-event": "6.0.0", + "@types/jest": "24.0.18", + "@types/react": "16.9.2", + "@types/react-dom": "16.9.0", + "auto-changelog": "1.15.0", "env-cmd": "9.0.3", - "eslint": "5.16.0", + "eslint": "6.2.2", "formik": "1.5.8", "react": "16.9.0", "react-dom": "16.9.0", "release-it": "12.3.5", - "tsdx": "0.7.2", + "tsdx": "0.9.0", "tslib": "1.10.0", "typescript": "3.5.3" } diff --git a/src/Checkbox.tsx b/src/Checkbox.tsx index 281f67f..5c73a4c 100644 --- a/src/Checkbox.tsx +++ b/src/Checkbox.tsx @@ -38,7 +38,7 @@ function CheckboxField(props: CheckboxProps) { name={name} render={({ field, - form: { setFieldValue, setFieldError, errors, touched }, + form: { setFieldValue, setFieldError, errors, touched, isSubmitting }, }: FieldProps) => { let error; try { @@ -53,6 +53,7 @@ function CheckboxField(props: CheckboxProps) { return ( (props: SelectProps) { name={name} render={({ field, - form: { setFieldValue, setFieldError, errors, touched }, + form: { setFieldValue, setFieldError, errors, touched, isSubmitting }, }: FieldProps) => { let error; try { @@ -53,6 +53,7 @@ function SelectField(props: SelectProps) { return ( (props: TextFieldProps) { name={name} render={({ field, - form: { setFieldValue, setFieldError, errors, touched }, + form: { setFieldValue, setFieldError, errors, touched, isSubmitting }, }: FieldProps) => { let error; try { @@ -53,6 +53,7 @@ function TextField(props: TextFieldProps) { return (