See Below Example -
{ "type": "TextInput", "name": "textInput", "input-type": "${data.textInputType}", "label": "Your Name" }
I just want to define that input-type in data example, Thank you in Advance!
I have done complete research with facebook/whatsapp documentation and all, Yes Whatsapp flow supporting dynamic input-type but that example not mentioned in their documentation.
This is not currently supported,
input-type
cannot be dynamic. Can you explain your use case so maybe I can suggest an alternative?Maybe you can have multiple
TextInput
components with different types and decide which one to show based on thevisible
property? Check the section "Step 5 - Control Visibility of the Component" in component docsHere's a flow JSON sample with dynamic input-type, but which shows an error when you try it in the flows playground https://developers.facebook.com/docs/whatsapp/flows/playground