Skip to content

Commit 22a6147

Browse files
committed
Set cell text value back to previous content when typing in disabled cell
1 parent 4fd1947 commit 22a6147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function inputEventHandler(evt) {
8181
resetTextareaSize.call(this);
8282
this.change('input', v);
8383
} else {
84-
evt.target.value = '';
84+
evt.target.value = cell.text;
8585
}
8686
} else {
8787
this.inputText = v;

0 commit comments

Comments
 (0)