Fixed the NULL not applied after clearing nullable field

Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com>
This commit is contained in:
Sachin Bahukhandi 2023-06-06 14:04:39 +05:30
parent 9481236388
commit bedd3b21a8

View File

@ -889,7 +889,9 @@ const makeGrid = function (t, enableResize = undefined, enableReorder = undefine
});
} else {
$(g.cEdit).on('keypress change paste', '.edit_box', function () {
$checkbox.prop('checked', false);
if ($(this).val() !== '') {
$checkbox.prop('checked', false);
}
});
// Capture ctrl+v (on IE and Chrome)