feat: check if item is present (#10715)

This commit is contained in:
Shivam Mishra
2025-01-18 18:31:07 +05:30
committed by GitHub
parent 5046dc5727
commit c25a75f497

View File

@@ -30,6 +30,7 @@ const formValues = computed(() => {
if (contentType.value === CONTENT_TYPES.INPUT_SELECT) {
const [item] = contentAttributes.value?.submittedValues ?? [];
if (!item) return [];
return [
{