2
0
mirror of synced 2025-02-17 00:56:27 +00:00

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

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