Skip to content

Commit

Permalink
Remove the 'invalidWhenUntouched' prop
Browse files Browse the repository at this point in the history
  • Loading branch information
wbazant committed Nov 7, 2024
1 parent 9cee2d4 commit c360c8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions src/components/form/ReviewForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ export const ReviewStep = ({ standalone, hasHeading = true }) => (
label="Comments"
/>

<DateInput
name="review.observed_on"
label="Observed on"
invalidWhenUntouched
/>
<DateInput name="review.observed_on" label="Observed on" />

<Select
label="Fruiting status"
Expand Down
1 change: 0 additions & 1 deletion src/components/form/TypesSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const TypesSelect = () => {
}
isVirtualized
required
invalidWhenUntouched
onCreateOption={handleCreateOption}
formatCreateLabel={(inputValue) => inputValue}
/>
Expand Down

0 comments on commit c360c8f

Please sign in to comment.