Skip to content

Commit

Permalink
Merge pull request #10092 from marmelab/fix-simpleformiterator-defaul…
Browse files Browse the repository at this point in the history
…t-item-label

Fix `<SimpleFormIterator>` adds a left padding when there is no label
  • Loading branch information
djhi authored Jul 29, 2024
2 parents 83c5b39 + f4879c4 commit d60fe62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const SimpleFormIteratorItem = React.forwardRef(
return (
<SimpleFormIteratorItemContext.Provider value={context}>
<li className={SimpleFormIteratorClasses.line} ref={ref}>
{label != null && (
{label != null && label !== false && (
<Typography
variant="body2"
className={SimpleFormIteratorClasses.index}
Expand Down

0 comments on commit d60fe62

Please sign in to comment.