Skip to content

Commit 610fe0c

Browse files
authored
fix theme not saving videos (#1396)
1 parent 8d97712 commit 610fe0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Utility/AdminInput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ public static function renderVideoSelect(array $setting, string $label): string
550550
{
551551
$languageService = LanguageService::getInstance();
552552
$videos = '';
553+
$attributes = self::buildAttributes($setting);
553554

554555
if (isset($setting['paths']) && is_array($setting['paths'])) {
555556
foreach ($setting['paths'] as $path) {
@@ -637,6 +638,7 @@ public static function renderVideoSelect(array $setting, string $label): string
637638
class="w-full h-10 border-2 border-solid border-gray-300 focus:border-brand-1 rounded-md px-3 mt-auto"
638639
name="' . $setting['name'] . '"
639640
value="' . $setting['value'] . '"
641+
' . $attributes . '
640642
/>
641643
</div>
642644
';

0 commit comments

Comments
 (0)