Skip to content

Commit 051c972

Browse files
committed
fix:resolved bug [CMG-598]
1 parent 04c9d0d commit 051c972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/AdvancePropertise/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ const AdvancePropertise = (props: SchemaProps) => {
576576
isMulti={true}
577577
onChange={(selectedOptions: ContentTypeOption[]) => {
578578
setCTValue(selectedOptions);
579-
const embedObject = selectedOptions.map((item: optionsType) => item.label); // Update the state with the selected options
579+
const embedObject = selectedOptions.map((item: optionsType) => item?.value); // Update the state with the selected options
580580
props?.updateFieldSettings(
581581
props?.rowId,
582582
{

0 commit comments

Comments
 (0)