Improvements to studio and layer handling

This commit is contained in:
Pieter Vander Vennet 2024-01-13 01:51:19 +01:00
parent 3166918551
commit b3b226d34c
6 changed files with 20 additions and 4 deletions

View file

@ -147,6 +147,9 @@
return { ...<object>v }
}
if (schema.type === "boolean") {
if(v === null || v === undefined){
return v
}
return v === "true" || v === "yes" || v === "1"
}
if (mightBeBoolean(schema.type)) {