jlerp
1
Hi,
I am building my first custom component, and I added an action on my list.
"props": [
{
"name": "listItems",
"displayName": "Select list items",
"type": "list"
},
{
"name": "onPress",
"displayName": "Click Actions",
"type": "action"
}
]
I configured the action on Adalo but nothing happen on click. Do I miss something?
Thank you
this seems correct, the issue is in your code.
jlerp
3
Thank you.
What do I need to do in my code to get the action work?
The selected action is Back to previous screen
I mean in your code in general an action is written like that
const action = async () => {
const {onPress} = this.props
if (onPress)
await onPress()
}
1 Like
jlerp
6
Thank you, Iām moving forward!
system
Closed
7
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.