Skip to content

Commit 1c491b4

Browse files
authored
disable hours and minutes when datetime control is disabled
1 parent 807155d commit 1c491b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DateTime/DateTimeViewBridge.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ bridge.prototype.attachEvents = function () {
1818
this.yearDropDown.disabled = !this.enabledCheckbox.checked
1919
this.monthDropDown.disabled = !this.enabledCheckbox.checked
2020
this.dayDropDown.disabled = !this.enabledCheckbox.checked
21+
this.hourDropDown.disabled = !this.enabledCheckbox.checked
22+
this.minuteDropDown.disabled = !this.enabledCheckbox.checked
2123
}.bind(this)
2224
}
2325
}

0 commit comments

Comments
 (0)