diff --git a/__tests__/renderers/Form/buttonGroup.test.tsx b/__tests__/renderers/Form/buttonGroup.test.tsx index 78ab67347..5cae0e88a 100644 --- a/__tests__/renderers/Form/buttonGroup.test.tsx +++ b/__tests__/renderers/Form/buttonGroup.test.tsx @@ -85,14 +85,14 @@ test('Renderer:button-group:multiple clearable', async () => { makeEnv() ) ); - await wait(100); + await wait(200); fireEvent.click(getByText(/Option A/)); - await wait(100); + await wait(200); fireEvent.click(getByText(/Option B/)); - await wait(300); + await wait(600); expect(container).toMatchSnapshot(); - await wait(100); + await wait(200); fireEvent.click(getByText(/Option B/)); - await wait(300); + await wait(600); expect(container).toMatchSnapshot(); }); diff --git a/src/renderers/Form/InputSubForm.tsx b/src/renderers/Form/InputSubForm.tsx index c69f87cf6..452997db8 100644 --- a/src/renderers/Form/InputSubForm.tsx +++ b/src/renderers/Form/InputSubForm.tsx @@ -524,6 +524,7 @@ export default class SubFormControl extends React.PureComponent< @FormItem({ type: 'input-sub-form', - sizeMutable: false + sizeMutable: false, + strictMode: false }) export class SubFormControlRenderer extends SubFormControl {}