Pull-request: #16212 Fix: #16201 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
f2fdbd6d28
@ -155,6 +155,9 @@ function verifyAfterSearchFieldChange (index) {
|
||||
var $thisInput = $('input[name=\'criteriaValues[' + index + ']\']');
|
||||
// validation for integer type
|
||||
if ($thisInput.data('type') === 'INT') {
|
||||
// Trim spaces if it's an integer
|
||||
$thisInput.val($thisInput.val().trim());
|
||||
|
||||
var hasMultiple = $thisInput.prop('multiple');
|
||||
if (hasMultiple) {
|
||||
$('#tbl_search_form').validate();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user