From 16ff8fd81d3612cf5ced2f9ac3925e246e6ab7b7 Mon Sep 17 00:00:00 2001 From: Tristan Mouchet Date: Fri, 10 Apr 2026 14:45:24 +0200 Subject: [PATCH] fix: add proper type CMS option filtering for Video ID (Youtube) - add the allowedFieldTypes prop to the VideoSettings component, enabling the specification of valid field types for video settings. --- app/(builder)/ycode/components/VideoSettings.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/(builder)/ycode/components/VideoSettings.tsx b/app/(builder)/ycode/components/VideoSettings.tsx index ec5453e8..93f42340 100644 --- a/app/(builder)/ycode/components/VideoSettings.tsx +++ b/app/(builder)/ycode/components/VideoSettings.tsx @@ -619,6 +619,7 @@ export default function VideoSettings(props: VideoSettingsProps) { fieldGroups={textFieldGroups} allFields={allFields} collections={collections} + allowedFieldTypes={VIDEO_ID_FIELD_TYPES} />