feat: show stringified sampleValue in PowerInput

This commit is contained in:
kasia.oczkowska
2025-03-21 09:44:55 +00:00
parent a9077c1b08
commit 014daafe2f

View File

@@ -65,7 +65,10 @@ const process = ({ data, parentKey, index, parentLabel = '' }) => {
{
label,
value,
sampleValue,
sampleValue:
typeof sampleValue === 'string'
? sampleValue
: JSON.stringify(sampleValue),
},
];
});