mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 17:57:27 +00:00
fix: rich text first char issue
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -718,7 +718,15 @@ export function useMultiSelect(
|
||||
return message.info(t('msg.info.updateNotAllowedWithoutPK'))
|
||||
}
|
||||
if (isTypableInputColumn(columnObj) && makeEditable(rowObj, columnObj) && columnObj.title) {
|
||||
rowObj.row[columnObj.title] = ''
|
||||
if (columnObj.uidt === UITypes.LongText) {
|
||||
if (rowObj.row[columnObj.title] === '<br />') {
|
||||
rowObj.row[columnObj.title] = e.key
|
||||
} else {
|
||||
rowObj.row[columnObj.title] = rowObj.row[columnObj.title] ? rowObj.row[columnObj.title] + e.key : e.key
|
||||
}
|
||||
} else {
|
||||
rowObj.row[columnObj.title] = ''
|
||||
}
|
||||
}
|
||||
// editEnabled = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user