u
This commit is contained in:
@@ -217,6 +217,14 @@ export default class PosTerminalSettingsPanel extends Component {
|
|||||||
onChange={(e) => this.setState({ newTerminalName: e.target.value })}
|
onChange={(e) => this.setState({ newTerminalName: e.target.value })}
|
||||||
disabled={creatingTerminal}
|
disabled={creatingTerminal}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
|
slotProps={{
|
||||||
|
htmlInput: {
|
||||||
|
autoComplete: 'off',
|
||||||
|
autoCorrect: 'off',
|
||||||
|
autoCapitalize: 'off',
|
||||||
|
spellCheck: false,
|
||||||
|
},
|
||||||
|
}}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
if (e.key === 'Enter') {
|
if (e.key === 'Enter') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Reference in New Issue
Block a user