Ensure that cell content being autoselected when editing the cell data. Fixes #5810

This commit is contained in:
Nikhil Mohite authored and Akshay Joshi committed 2021-03-04 13:53:23 +05:30
1 parent 9317fe21b2
commit 778e0cd402
2 files changed
+2

No files matched your search

@@ -214,6 +214,7 @@ import gettext from 'sources/gettext';
if (!args.column.is_array) {
if (item[args.column.field] === '') {
$input.val(defaultValue = '\'\'');
$input.trigger('select');
} else if (item[args.column.field] === '\'\'') {
$input.val(defaultValue = '\\\'\\\'');
} else if (item[args.column.field] === '""') {