Hii @SeungJe Ji,
You can change the design in <WidgetName>.editorConfig.ts/js file. There is a function called getPreview.
There you can customize the widget design. And you want selected datasource/attribute name then you can use getCustomCaption function otherwise ignore that part.
Please accept the answer if it helps.