部分服务中断share-external
Bug? New 4.0 "init-value" does not allow boolean data fields for OptIn components
1

Flows 4.0 do currently not allow init-value to use a boolean data variable

{
    "type": "OptIn",
    "name": "i_am_boolean",
    "label": "A Boolean",
    "visible": "${data.i_am_boolean}"
}

with

"data": {
    "i_am_boolean": {
        "type": "boolean",
        "__example__": true
    }
}

shows an error:

Data model schema is invalid for dynamic data "${data.i_am_boolean}" defined for property: init-value of component: OptIn in screen: MAIN, expected the type to be string.

How are we supposed to initially check an OptIn field ?

Lars
提问时间: 约 5 个月前
已选回答
2

Hey Lars, confirming the issue. This is V4 specific bug, I've assigned the eng to fix an issue. I expect it to be fixed within next week.

6月25日 11:11
Evgenii
已选回答
1

Hi Lars, could you provide us with the Flow JSON code you use for that particular screen?

6月25日 02:32
Adelina