Merge branch 'master' into test
gitea/salix/test This commit looks good Details

This commit is contained in:
Gerard 2019-03-08 07:59:41 +01:00
commit 3c77f24462
1 changed files with 1 additions and 1 deletions

View File

@ -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');