imageChooser
Last updated
Selects an image from user's phone storage.
multiple
The image(s) to choose.
Array/List
-
-
Yes
N/A
The setComponentValue function will be executed to show the image chosen in the image component if it exists.
The function to be executed if the image component does not exist.
Coming Soon.
The user wants to display an image from their gallery/phone storage.
Drag an image, label and button component. Rename the label component to 'Result' and the button component to 'Image Chooser'.

Call the function imageChooser in the button. Call the function console in the callbacks of the imageChooser function. Select the parameter type input for the value parameter.

In the callbacks, call the function setComponentValue. For the success callback, select the image component in the component parameter. For the error callback, select the label component in the component parameter. Set the value parameter type to input.



The image chosen will be displayed in the image component if it exists. If image does not exist, the label component will show the error.


Last updated