Browse Source

Merge pull request #3053 from maturano/3045_validation_issue

[form] Fix integer validation
pull/3209/merge
Jack Lukic 9 years ago
parent
commit
367bf28478
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/behaviors/form.js

2
src/definitions/behaviors/form.js

@ -1196,7 +1196,7 @@ $.fn.form.settings = {
max,
parts
;
if(range === undefined || range === '' || range === '..') {
if( !range || ['', '..'].indexOf(range) !== -1) {
// do nothing
}
else if(range.indexOf('..') == -1) {

Loading…
Cancel
Save