We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83cbb4 commit 2ece26fCopy full SHA for 2ece26f
client/packages/lowcoder/src/util/convertUtils.ts
@@ -254,9 +254,8 @@ export function toBooleanOrCss(value: any): boolean | undefined | {
254
if (value === undefined || value === null || value === "") {
255
return undefined;
256
}
257
- // if (typeof value === "boolean") {
258
if (value.toLocaleLowerCase() === "true" || value.toLocaleLowerCase() === "false") {
259
return value.toLocaleLowerCase() === "true";
260
261
- return toJSONObject(value);
+ return toJSONObject(JSON.parse(value));
262
0 commit comments