Skip to content

Commit

Permalink
UDF #35 - Adding empty object for no fuzzy date value to UserDefinedF…
Browse files Browse the repository at this point in the history
…ieldsForm
  • Loading branch information
dleadbetter committed Sep 12, 2024
1 parent 61afe39 commit d9ba531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const UserDefinedFieldsForm: ComponentType<any> = (props: Props) => {
>
<FuzzyDate
centered={false}
date={FuzzyDateTransform.toFuzzyDate(fieldValue)}
date={FuzzyDateTransform.toFuzzyDate(fieldValue) || {}}
onChange={(date) => onChange(field, FuzzyDateTransform.toData(date))}
title={field.column_name}
/>
Expand Down

0 comments on commit d9ba531

Please sign in to comment.