mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-05-18 07:15:43 +02:00
#752 - Support placeholders in list field
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user