Skip to content

Commit 2ece26f

Browse files
committed
Get custom css styles working for mask
1 parent b83cbb4 commit 2ece26f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/util/convertUtils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,8 @@ export function toBooleanOrCss(value: any): boolean | undefined | {
254254
if (value === undefined || value === null || value === "") {
255255
return undefined;
256256
}
257-
// if (typeof value === "boolean") {
258257
if (value.toLocaleLowerCase() === "true" || value.toLocaleLowerCase() === "false") {
259258
return value.toLocaleLowerCase() === "true";
260259
}
261-
return toJSONObject(value);
260+
return toJSONObject(JSON.parse(value));
262261
}

0 commit comments

Comments
 (0)