Skip to content

Commit e8c9a83

Browse files
kdagnanKyle Dagnan
andauthored
Allow dates to be re-enabled in onRenderCell (#657)
Co-authored-by: Kyle Dagnan <[email protected]>
1 parent e9d5c55 commit e8c9a83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/datepickerCell.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export default class DatepickerCell {
4040

4141
if (this.customData?.disabled) {
4242
this.dp.disableDate(this.date);
43+
} else if (this.customData?.disabled === false) {
44+
this.dp.enableDate(this.date);
4345
}
4446
}
4547

0 commit comments

Comments
 (0)