Actions | Adalo support arguments that let you route data from your component to actions
{
...
"props": [
{
"name": "exampleAction",
"displayName": "Example Action",
"type": "action",
"arguments": [
{
"type": "number",
"displayName": "Argument 1"
},
{
"type": "text",
"displayName": "Argument 2"
}
]
}
]
}
In the “recommender”, where Adalo suggests different magic texts for the app creator, your component will now show up as an expandable tab, and
Argument 1
andArgument 2
will show up as options for actions under “Example Action”.
It is datatype specific, so “Argument 2” will NOT show up if the field is number-only.
How do I get it to recommend to and send data to File type fields?
Here