-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(calendar range): handle unset date and selectedValue
In the `NbCalendarRangeDayCellComponent` `date` property could be set to `null` in case it's from bounding month and user set `boundingMonth` to false. In all `NbCalendarRange*CellComponent` selectedValue could be defined but has no `start` property set. It happens because users are setting `[range]` input on `NbCalendarRangeComponent` to `{}` so `selectedValue` is truthy.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters