fix(StatusFloatValidator): Fix value equal to bottom

This commit is contained in:
Anthony Laibe 2022-04-05 11:16:12 +02:00 committed by r4bbit.eth
parent 6221c0a540
commit 1e9cc07e2d
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