diff options
author | bobzel <zzzman@gmail.com> | 2023-12-07 10:13:20 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-07 10:13:20 -0500 |
commit | 0d4c4ba17f90cf80403e6c65d2402125537cbd6b (patch) | |
tree | 0096af1c8ce92837028723ebf29d42796e22dad6 /src/fields/ScriptField.ts | |
parent | dd1db35513257abc6f36da5f8608afdde1bc4dd8 (diff) | |
parent | 3d3878f721c0c86d59e2d1201990d9336b6283ed (diff) |
merged infoUI
Diffstat (limited to 'src/fields/ScriptField.ts')
-rw-r--r-- | src/fields/ScriptField.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/ScriptField.ts b/src/fields/ScriptField.ts index 85cc88a87..62690a9fb 100644 --- a/src/fields/ScriptField.ts +++ b/src/fields/ScriptField.ts @@ -15,7 +15,7 @@ function optional(propSchema: PropSchema) { return custom( value => { if (value !== undefined) { - return propSchema.serializer(value); + return propSchema.serializer(value, '', undefined); // this function only takes one parameter, but I think its typescript typings are messed up to take 3 } return SKIP; }, |