Skip to content

Commit 3d68dd2

Browse files
author
kirjavascript
committed
fix control behaviour
1 parent 660a44c commit 3d68dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/ui/input/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const Input = observer(class Input extends Component {
7272
</span>}
7373
<input
7474
style={color && {color: SVARS[color]}}
75-
value={store[accessor]}
75+
value={store[accessor] || ''}
7676
onChange={this.onChange}
7777
onKeyDown={this.onKeyDown}
7878
ref={this.inputRef}

0 commit comments

Comments
 (0)