From 07b008a687a0826bac96f5a9ea4ab17203b9e2b0 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Tue, 11 Apr 2023 14:09:41 +0200 Subject: [PATCH] :adhesive_bandage: Fix storybook docs tab infinite loop See https://github.com/bbbtech/storybook-formik/issues/51 --- src/components/formio/checkbox.stories.tsx | 1 + src/components/formio/textfield.stories.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/formio/checkbox.stories.tsx b/src/components/formio/checkbox.stories.tsx index 3bbc3b72..7a8c28b7 100644 --- a/src/components/formio/checkbox.stories.tsx +++ b/src/components/formio/checkbox.stories.tsx @@ -10,6 +10,7 @@ export default { parameters: { modal: {noModal: true}, formik: {initialValues: {'my-checkbox': false}}, + docs: {inlineStories: false}, // https://github.com/bbbtech/storybook-formik/issues/51#issuecomment-1136668271 }, args: { name: 'my-checkbox', diff --git a/src/components/formio/textfield.stories.tsx b/src/components/formio/textfield.stories.tsx index d0be6c3b..bf36faa1 100644 --- a/src/components/formio/textfield.stories.tsx +++ b/src/components/formio/textfield.stories.tsx @@ -10,6 +10,7 @@ export default { parameters: { modal: {noModal: true}, formik: {initialValues: {'my-textfield': 'initial value'}}, + docs: {inlineStories: false}, // https://github.com/bbbtech/storybook-formik/issues/51#issuecomment-1136668271 }, args: { name: 'my-textfield',