From 8a760ef2fae8d5712de853e4479caf9051669d7b Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Fri, 25 Jan 2019 14:39:25 -0500 Subject: [PATCH] feat(Form): add novalidate flag to form --- packages/patternfly-4/react-core/src/components/Form/Form.js | 2 +- .../src/components/Form/__snapshots__/ActionGroup.test.js.snap | 1 + .../src/components/Form/__snapshots__/Form.test.js.snap | 2 ++ .../src/components/Form/__snapshots__/FormGroup.test.js.snap | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/patternfly-4/react-core/src/components/Form/Form.js b/packages/patternfly-4/react-core/src/components/Form/Form.js index 713cf8aa861..49f6ec72d65 100644 --- a/packages/patternfly-4/react-core/src/components/Form/Form.js +++ b/packages/patternfly-4/react-core/src/components/Form/Form.js @@ -22,7 +22,7 @@ const defaultProps = { }; const Form = ({ className, children, isHorizontal, ...props }) => ( -
+ {children}
); diff --git a/packages/patternfly-4/react-core/src/components/Form/__snapshots__/ActionGroup.test.js.snap b/packages/patternfly-4/react-core/src/components/Form/__snapshots__/ActionGroup.test.js.snap index 1265dcf38f8..63553d9dfde 100644 --- a/packages/patternfly-4/react-core/src/components/Form/__snapshots__/ActionGroup.test.js.snap +++ b/packages/patternfly-4/react-core/src/components/Form/__snapshots__/ActionGroup.test.js.snap @@ -38,6 +38,7 @@ exports[`ActionGroup component should render horizontal form ActionGroup variant >
<[object Object] value={ @@ -27,6 +28,7 @@ exports[`Form component should render horizontal form variant 1`] = ` <[object Object] value={ diff --git a/packages/patternfly-4/react-core/src/components/Form/__snapshots__/FormGroup.test.js.snap b/packages/patternfly-4/react-core/src/components/Form/__snapshots__/FormGroup.test.js.snap index 3b5aa58ba1b..421f9857084 100644 --- a/packages/patternfly-4/react-core/src/components/Form/__snapshots__/FormGroup.test.js.snap +++ b/packages/patternfly-4/react-core/src/components/Form/__snapshots__/FormGroup.test.js.snap @@ -491,6 +491,7 @@ exports[`FormGroup component should render horizontal form group variant 1`] = ` >