Skip to content

Commit c3ec9c6

Browse files
committed
ScheduleElement: Assemble before preparing multipart updates
To ensure that the `schedule-recurrences` element is registered.
1 parent ba63492 commit c3ec9c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FormElement/ScheduleElement.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,8 @@ public function prepareMultipartUpdate(RequestInterface $request): array
596596
|| preg_match('/\[interval]/', $autoSubmittedBy[0])
597597
)
598598
) {
599+
$this->ensureAssembled();
600+
599601
$partUpdates[] = $this->getElement('schedule-recurrences');
600602
if (
601603
$this->getFrequency() === static::CUSTOM_EXPR

0 commit comments

Comments
 (0)