diff --git a/src/routes/artikel/marken.jsx b/src/routes/artikel/marken.jsx index 2335a6d..8321dc9 100644 --- a/src/routes/artikel/marken.jsx +++ b/src/routes/artikel/marken.jsx @@ -34,54 +34,61 @@ class ArtikelMarkenSearchField extends PureComponent { clearInput() { this.setState({ input: '' }); } + render() { const { inputRef } = this.props; return ( - - this.onInputChange(e.target.value)} - slotProps={{ - htmlInput: { - autoCapitalize: 'off', - autoCorrect: 'off', - }, - input: { - sx: { height: 40 }, - startAdornment: ( - - - - ), - endAdornment: ( - - this.clearInput()} - onMouseDown={(e) => e.preventDefault()} - aria-label="Suche löschen" - > - - - - ), + + - + > + this.onInputChange(e.target.value)} + slotProps={{ + htmlInput: { + autoCapitalize: 'off', + autoCorrect: 'off', + }, + input: { + sx: { height: 40 }, + startAdornment: ( + + + + ), + endAdornment: ( + + this.clearInput()} + onMouseDown={(e) => e.preventDefault()} + aria-label="Suche löschen" + > + + + + ), + }, + }} + /> + + + ); } } @@ -95,7 +102,6 @@ class ArtikelMarkenPage extends PureComponent { brands: brandAutomat.state.brands, }; this.searchRef = createRef(); - this.createRowRef = createRef(); this.handleRetry = this.handleRetry.bind(this); } @@ -140,15 +146,12 @@ class ArtikelMarkenPage extends PureComponent { - -