feat: check if item is present (#10715)
This commit is contained in:
@@ -30,6 +30,7 @@ const formValues = computed(() => {
|
|||||||
|
|
||||||
if (contentType.value === CONTENT_TYPES.INPUT_SELECT) {
|
if (contentType.value === CONTENT_TYPES.INPUT_SELECT) {
|
||||||
const [item] = contentAttributes.value?.submittedValues ?? [];
|
const [item] = contentAttributes.value?.submittedValues ?? [];
|
||||||
|
if (!item) return [];
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user