Update rules.js
This commit is contained in:
parent
2f59905a1c
commit
00bf28fc99
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
return !isNaN(value);
|
||||
},
|
||||
|
||||
range: function(input, value, mix, max) {
|
||||
range: function(input, value, min, max) {
|
||||
return Number(value) >= min && Number(value) <= max;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue