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 ?
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.
Hi Lars, could you provide us with the Flow JSON code you use for that particular screen?