Skip to content

Commit

Permalink
SelectField: Remove empty space at the beginning (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilan authored Sep 13, 2023
1 parent 917e756 commit 65a1d40
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Not released

- SelectField: Remove empty space at the beginning [#772](https://github.com/CartoDB/carto-react/pull/772)
- WrapperWidgetUI: contentProps property to support scrolling [#769](https://github.com/CartoDB/carto-react/pull/769)

## 2.2
Expand Down
1 change: 0 additions & 1 deletion packages/react-ui/src/components/atoms/SelectField.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const SelectField = forwardRef(
}
}}
>
<MenuItem key='empty' disabled value={''}></MenuItem>
{children}
</TextField>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const navigationOverrides = {
},
'&.Mui-disabled:empty': {
height: 0,
minHeight: 0,
padding: 0
},
'& .MuiCheckbox-root, & > .MuiSvgIcon-root': {
Expand Down

0 comments on commit 65a1d40

Please sign in to comment.