diff --git a/front/core/components/input-number/index.js b/front/core/components/input-number/index.js index 086ab7817..9c187a815 100644 --- a/front/core/components/input-number/index.js +++ b/front/core/components/input-number/index.js @@ -55,7 +55,7 @@ export default class InputNumber extends Textfield { if ((this.validate() !== undefined && !this.validate()) || (this.max && this.value > this.max) || (this.min && this.value < this.min) || - (this.step && this.value % this.step != 0)) + (this.displayControls && (this.step && this.value % this.step != 0))) this.$element[0].querySelector('.infix').classList.add('invalid', 'validated');