Allow defaultValue to equal false in additional fields

Settings defaultValue: false as a boolean literal makes it fail the schema check because of the following
if (fields[key].defaultValue && action === "create") {
parsedData[key] = fields[key].defaultValue;
continue;
}
if (fields[key].defaultValue && action === "create") {
parsedData[key] = fields[key].defaultValue;
continue;
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?