From 3692032cf00c190c1fac5a97606ce4fe5a2002b2 Mon Sep 17 00:00:00 2001 From: Shams mosowi Date: Fri, 30 Oct 2020 17:37:08 +1100 Subject: [PATCH] fix texteditor update --- www/src/components/Table/editors/TextEditor.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/src/components/Table/editors/TextEditor.tsx b/www/src/components/Table/editors/TextEditor.tsx index 7d3390ee..c58719ed 100644 --- a/www/src/components/Table/editors/TextEditor.tsx +++ b/www/src/components/Table/editors/TextEditor.tsx @@ -92,6 +92,9 @@ class TextEditor extends React.Component< } type={inputType} fullWidth + onBlur={(e) => { + row.ref.update({ [column.key]: e.target.value }); + }} variant="standard" inputProps={{ ref: this.inputRef,