diff --git a/packages/mui-material/src/InputLabel/InputLabel.js b/packages/mui-material/src/InputLabel/InputLabel.js index f28ce9b43c832e..ab9831fd3e4af5 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.js +++ b/packages/mui-material/src/InputLabel/InputLabel.js @@ -119,6 +119,11 @@ const InputLabelRoot = styled(FormLabel, { transform: 'translate(14px, -9px) scale(0.75)', }), }), + ...(ownerState.variant === 'standard' && { + '&:not(label) + div': { + marginTop: 16, + }, + }), })); const InputLabel = React.forwardRef(function InputLabel(inProps, ref) { diff --git a/packages/mui-material/src/Select/SelectInput.js b/packages/mui-material/src/Select/SelectInput.js index 9c36c98f142ef0..75cd39dd118c3b 100644 --- a/packages/mui-material/src/Select/SelectInput.js +++ b/packages/mui-material/src/Select/SelectInput.js @@ -489,6 +489,8 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) { const listboxId = useId(); + const hiddenInputId = useId(); + return (