Skip to content

Commit

Permalink
Always show field labels
Browse files Browse the repository at this point in the history
  • Loading branch information
louwie17 committed Oct 2, 2024
1 parent 68546cd commit 6750d2d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ function DataFormCombinedEdit< Item >( {
( childField ): childField is NormalizedField< Item > =>
!! childField
);
const children = visibleChildren.map( ( child, index ) => {
const children = visibleChildren.map( ( child ) => {
return (
<div className="dataforms-combined-edit__field" key={ child.id }>
<child.Edit
data={ data }
field={ child }
onChange={ onChange }
hideLabelFromVision={ hideLabelFromVision && index === 0 }
/>
</div>
);
Expand Down

0 comments on commit 6750d2d

Please sign in to comment.