This commit is contained in:
seb
2026-10-04 19:12:55 +02:00
parent 9146ebaba1
commit 669954b496
7 changed files with 145 additions and 114 deletions

View File

@@ -112,6 +112,7 @@ export default class TextInput extends Component {
const mergedSlotProps = {
...restSlotProps,
...(resolvedInputProps ? { input: resolvedInputProps } : {}),
inputLabel: {
...(label ? { shrink: true } : {}),
...InputLabelProps,
@@ -128,7 +129,6 @@ export default class TextInput extends Component {
autoComplete="one-time-code"
onFocus={this.handleFocus}
onMouseDown={this.handleMouseDown}
InputProps={resolvedInputProps}
slotProps={mergedSlotProps}
sx={resolveSx(sx)}
{...rest}