#752 - Support placeholders in list field

This commit is contained in:
Elio Struyf
2024-02-12 14:59:25 +01:00
parent 0ad0179a4b
commit 1315602bcc
4 changed files with 54 additions and 12 deletions
@@ -361,7 +361,7 @@ export const WrapperField: React.FunctionComponent<IWrapperFieldProps> = ({
let draftValue = parent[field.name];
if (!draftValue && typeof parent[field.name] === 'undefined' && field.default) {
draftValue = field.default;
draftValue = field.default as string;
onSendUpdate(field.name, draftValue, parentFields);
}