nit json stringify expr

This commit is contained in:
Ruben Fiszel
2025-09-13 10:30:49 +00:00
parent 322e02e584
commit 35ced3169f

View File

@@ -197,7 +197,7 @@
componentInput['value'] != undefined &&
(componentInput['expr'] == '' || componentInput['expr'] == undefined)
) {
componentInput['expr'] = JSON.stringify(componentInput['value'])
componentInput['expr'] = JSON.stringify(componentInput['value'], null, 2)
} else if (fileUploadS3 && fieldType === 'text' && e.detail != 'uploadS3') {
componentInput['value'] = ''
} else if (e.detail == 'uploadS3') {