Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into pr/alexookah/129
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 26, 2024
2 parents 2a8433e + a07dc26 commit c81ffc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/admin/components/fields/field-control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export const FieldControl = ( {
return null;
}

// Fallback to the default value if the value is not set.
const value = originalValue ?? rest?.default;

// Build the component props.
Expand Down

0 comments on commit c81ffc5

Please sign in to comment.