Skip to content

Commit

Permalink
Merge pull request #2168 from IgniteUI/PMiteva/num-editor-2165-v.20.2
Browse files Browse the repository at this point in the history
fix(numeric-editor): fix numeric editor spin button style when setting editable mode #2165
  • Loading branch information
Lipata authored Nov 30, 2021
2 parents cf1946f + ae755ec commit 6ff822e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/modules/infragistics.ui.editors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2347,11 +2347,11 @@
this._clearButton.removeClass(this.css.disabled);
this._attachButtonsEvents("clear", this._clearButton);
}
if (this._spinUpButton) {
if (this._spinUpButton && this.options.value !== this.options.maxValue) {
this._spinUpButton.removeClass(this.css.disabled);
this._attachButtonsEvents("spinUp", this._spinUpButton);
}
if (this._spinDownButton) {
if (this._spinDownButton && this.options.value !== this.options.minValue) {
this._spinDownButton.removeClass(this.css.disabled);
this._attachButtonsEvents("spinDown", this._spinDownButton);
}
Expand Down

0 comments on commit 6ff822e

Please sign in to comment.