Skip to content

Commit

Permalink
Fix <SimpleFormIterator> adds a left padding when there is no label
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jul 26, 2024
1 parent b733e64 commit f4879c4
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 f4879c4

Please sign in to comment.