mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Fix for crashes caused by column key change
This commit is contained in:
parent
45d4440ab2
commit
4ee8c328ce
1 changed files with 4 additions and 4 deletions
|
|
@ -118,11 +118,11 @@ class Table extends React.Component {
|
|||
<input
|
||||
type="text"
|
||||
className="form-control text-field"
|
||||
onChange={(e) => {
|
||||
onBlur={(e) => {
|
||||
e.stopPropagation();
|
||||
this.onColumnItemChange(index, 'name', e.target.value);
|
||||
}}
|
||||
value={column.name}
|
||||
defaultValue={column.name}
|
||||
/>
|
||||
</div>
|
||||
<div className="field mb-2">
|
||||
|
|
@ -130,11 +130,11 @@ class Table extends React.Component {
|
|||
<input
|
||||
type="text"
|
||||
className="form-control text-field"
|
||||
onChange={(e) => {
|
||||
onBlur={(e) => {
|
||||
e.stopPropagation();
|
||||
this.onColumnItemChange(index, 'key', e.target.value);
|
||||
}}
|
||||
value={column.key}
|
||||
defaultValue={column.key}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue