mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 22:31:09 +03:00
use defaultvalue for username uncontrolled component, fixes #138)
This commit is contained in:
parent
2019d4a647
commit
0a3d1145f6
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ export default class UsernameForm extends Component {
|
|||
class="appearance-none block w-full bg-gray-200 text-gray-700 border border-black-500 rounded py-1 px-1 leading-tight text-xs focus:bg-white"
|
||||
maxlength="100"
|
||||
placeholder="Update username"
|
||||
value=${username}
|
||||
defaultValue=${username}
|
||||
onKeydown=${this.handleKeydown}
|
||||
ref=${this.textInput}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue