mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
composer: turn off browser autocomplete
This commit is contained in:
parent
fc9dfa2dca
commit
6491f7e915
@ -81,7 +81,15 @@ export default class Composer extends Component {
|
||||
render() {
|
||||
return html`
|
||||
<form id="composer" class="${this.props.readOnly && !this.state.text ? "read-only" : ""}" onInput=${this.handleInput} onSubmit=${this.handleSubmit}>
|
||||
<input type="text" name="text" ref=${this.textInput} value=${this.state.text} placeholder="Type a message" onKeyDown=${this.handleInputKeyDown}/>
|
||||
<input
|
||||
type="text"
|
||||
name="text"
|
||||
ref=${this.textInput}
|
||||
value=${this.state.text}
|
||||
autocomplete="off"
|
||||
placeholder="Type a message"
|
||||
onKeyDown=${this.handleInputKeyDown}
|
||||
/>
|
||||
</form>
|
||||
`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user