Skip to content

Commit

Permalink
Fix wrong default props
Browse files Browse the repository at this point in the history
  • Loading branch information
kowczarz committed Sep 21, 2023
1 parent 6cba7be commit ff8653f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Form/FormProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ const defaultProps = {
footerContent: null,
style: [],
validate: () => {},
shouldValidateOnBlur: false,
shouldValidateOnChange: false,
shouldValidateOnBlur: true,
shouldValidateOnChange: true,
};

function getInitialValueByType(valueType) {
Expand Down

0 comments on commit ff8653f

Please sign in to comment.