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
Gefragt vor etwa 3 Monaten
Ausgewählte Antwort
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.

25. Juni um 11:11
Evgenii
Ausgewählte Antwort
1

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

25. Juni um 02:32
Adelina