File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
packages/pluggableWidgets/calendar-web Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 222
222
<enumerationValue key =" hidden" >Hidden</enumerationValue >
223
223
</enumerationValues >
224
224
</property >
225
+ <property key =" showAllEvents" type =" boolean" defaultValue =" true" >
226
+ <caption >Show all events</caption >
227
+ <description >Auto-adjust calendar height to display all events without "more" links</description >
228
+ </property >
225
229
</propertyGroup >
226
230
</properties >
227
231
</widget >
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ export function extractCalendarProps(props: CalendarContainerProps): DragAndDrop
150
150
onSelectSlot : handleSelectSlot ,
151
151
startAccessor : ( event : CalEvent ) => event . start ,
152
152
titleAccessor : ( event : CalEvent ) => event . title ,
153
+ showAllEvents : props . showAllEvents ,
153
154
min : minTime ,
154
155
max : maxTime
155
156
} ;
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ export interface CalendarContainerProps {
58
58
maxHeightUnit : MaxHeightUnitEnum ;
59
59
maxHeight : number ;
60
60
overflowY : OverflowYEnum ;
61
+ showAllEvents : boolean ;
61
62
}
62
63
63
64
export interface CalendarPreviewProps {
@@ -100,4 +101,5 @@ export interface CalendarPreviewProps {
100
101
maxHeightUnit : MaxHeightUnitEnum ;
101
102
maxHeight : number | null ;
102
103
overflowY : OverflowYEnum ;
104
+ showAllEvents : boolean ;
103
105
}
You can’t perform that action at this time.
0 commit comments