fix(StatusFloatValidator): Fix value equal to bottom

This commit is contained in:
Anthony Laibe 2022-04-05 11:16:12 +02:00 committed by Michał Cieślak
parent 3c855450fb
commit 83955adb6f
1 changed files with 1 additions and 1 deletions

View File

@ -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