From ee926691269b38d852da7c5183f276b593117fe0 Mon Sep 17 00:00:00 2001 From: yashin4112 Date: Wed, 19 Nov 2025 17:40:48 +0530 Subject: [PATCH] code added to set content type default value for link datatype --- api/src/utils/content-type-creator.utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/utils/content-type-creator.utils.ts b/api/src/utils/content-type-creator.utils.ts index 503281331..a6c7d63d7 100644 --- a/api/src/utils/content-type-creator.utils.ts +++ b/api/src/utils/content-type-creator.utils.ts @@ -598,8 +598,8 @@ const convertToSchemaFormate = ({ field, advanced = false, marketPlacePath, keyM "field_metadata": { description: "", "default_value": { - "title": "", - "url": '', + "title": field?.advanced?.title ?? '', + "url": field?.advanced?.url ?? '', } }, "format": field?.advanced?.validationRegex ?? '',