Skip to content

Commit 662b44c

Browse files
committed
[CST-6570] Fix problem with display value when selecting an entry of the controlled vocabulary
1 parent 8ac99e4 commit 662b44c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/vocabulary-treeview/vocabulary-treeview.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export class VocabularyTreeviewComponent implements OnDestroy, OnInit {
251251
* Emit a new select Event
252252
*/
253253
onSelect(entry: VocabularyEntryDetail) {
254-
const value = new FormFieldMetadataValueObject(entry.value, null, entry.securityLevel, entry.id);
254+
const value = new FormFieldMetadataValueObject(entry.value, null, entry.securityLevel, entry.id, entry.display);
255255
this.select.emit(value);
256256
this.activeModal.close(value);
257257
}

0 commit comments

Comments
 (0)