Open gmramil2017 opened 7 years ago
Hi,
When trying to input some text in search box of the bootgrid and press enter. The entire modal form closes.
How can enter key be disabled when searching.
Thanks, /gmr
Got it!
$("input:text").keypress(function(event) { if (event.keyCode == 13) { event.preventDefault(); return false; } });
Hi,
When trying to input some text in search box of the bootgrid and press enter. The entire modal form closes.
How can enter key be disabled when searching.
Thanks, /gmr