Fixed the NULL not applied after clearing nullable field

Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com>
(cherry picked from commit bedd3b21a8)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Sachin Bahukhandi 2023-06-06 14:04:39 +05:30 committed by Maurício Meneghini Fauth
parent a9bbce6b99
commit 501837d1a4
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -845,7 +845,9 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
});
} 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)
$(g.cEdit).on('keydown', '.edit_box', function (e) {