Browse Source

fix(nc-gui): long text double add 1st pressed key in cell issue

pull/7703/head
Ramesh Mane 9 months ago
parent
commit
d2721da7bc
  1. 2
      packages/nc-gui/composables/useMultiSelect/index.ts

2
packages/nc-gui/composables/useMultiSelect/index.ts

@ -785,7 +785,7 @@ export function useMultiSelect(
if (columnObj.uidt === UITypes.LongText) { if (columnObj.uidt === UITypes.LongText) {
if (rowObj.row[columnObj.title] === '<br />') { if (rowObj.row[columnObj.title] === '<br />') {
rowObj.row[columnObj.title] = e.key rowObj.row[columnObj.title] = e.key
} else { } else if (parseProp(columnObj.meta).richMode) {
rowObj.row[columnObj.title] = rowObj.row[columnObj.title] ? rowObj.row[columnObj.title] + e.key : e.key rowObj.row[columnObj.title] = rowObj.row[columnObj.title] ? rowObj.row[columnObj.title] + e.key : e.key
} }
} else { } else {

Loading…
Cancel
Save