fix(StatusFloatValidator): Fix value equal to bottom
This commit is contained in:
parent
6221c0a540
commit
1e9cc07e2d
|
@ -48,7 +48,7 @@ StatusValidator {
|
|||
errorMessage: "Please enter a valid numeric value."
|
||||
|
||||
validate: function (t) {
|
||||
return !isNaN(t) && t > bottom && t <= top ? true : {
|
||||
return !isNaN(t) && t >= bottom && t <= top ? true : {
|
||||
bottom: bottom,
|
||||
top: top,
|
||||
actual: t
|
||||
|
|
Loading…
Reference in New Issue