Skip to content

Commit 58aa29e

Browse files
authored
docs(Scheduler): Restrict popup edit form height (#2859)
* docs(Scheduler): Restrict popup edit form height * Update edit-appointments.md * Update edit-popup-customization.md
1 parent 446143b commit 58aa29e

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

components/scheduler/editing/edit-appointments.md

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ The example below shows the signature of the event handlers so you can copy the
107107
OnEdit="@EditHandler" OnCancel="@CancelHandler"
108108
AllowCreate="true" AllowDelete="true" AllowUpdate="true"
109109
@bind-Date="@StartDate" Height="600px" @bind-View="@CurrView">
110+
<SchedulerSettings>
111+
<SchedulerPopupEditSettings MaxHeight="99vh" />
112+
</SchedulerSettings>
110113
<SchedulerViews>
111114
<SchedulerDayView StartTime="@DayStart" />
112115
<SchedulerWeekView StartTime="@DayStart" />

components/scheduler/editing/edit-popup-customization.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The `SchedulerPopupEditFormSettings` nested tag exposes the following parameters
4040
<SchedulerSettings>
4141
<SchedulerPopupEditSettings Width="600px"
4242
MinWidth="500px"
43+
MaxHeight="99vh"
4344
Title="Edit Event"
4445
Class="custom-popup">
4546
</SchedulerPopupEditSettings>

components/scheduler/resources.md

+9
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The field names used for the resource model (`Text`, `Value` and `Color`) are th
7272
<SchedulerWeekView StartTime="@DayStart" />
7373
<SchedulerMultiDayView StartTime="@DayStart" NumberOfDays="10" />
7474
</SchedulerViews>
75+
<SchedulerSettings>
76+
<SchedulerPopupEditSettings MaxHeight="99vh" />
77+
</SchedulerSettings>
7578
</TelerikScheduler>
7679
7780
@code {
@@ -177,6 +180,9 @@ The field names used for the resource model (`Name`, `Id` and `Shade`) are diffe
177180
<SchedulerWeekView StartTime="@DayStart" />
178181
<SchedulerMultiDayView StartTime="@DayStart" NumberOfDays="10" />
179182
</SchedulerViews>
183+
<SchedulerSettings>
184+
<SchedulerPopupEditSettings MaxHeight="99vh" />
185+
</SchedulerSettings>
180186
</TelerikScheduler>
181187
182188
@code {
@@ -281,6 +287,9 @@ Actual CRUD operations are not implemented for brevity, just the UX is enabled s
281287
<SchedulerWeekView StartTime="@DayStart" />
282288
<SchedulerMultiDayView StartTime="@DayStart" NumberOfDays="10" />
283289
</SchedulerViews>
290+
<SchedulerSettings>
291+
<SchedulerPopupEditSettings MaxHeight="99vh" />
292+
</SchedulerSettings>
284293
</TelerikScheduler>
285294
286295
@code {

0 commit comments

Comments
 (0)