Forum Discussion
JAC65
3 years agoFrequent Visitor
Select an image from a file selection dialog
Hi, how is it possible to implement the selection of an image? There is a class called ImageUpload (inherited from the FormattingComponent) that presents a control in the user interface that allows y...
JAC65
3 years agoFrequent Visitor
Hi, i want to configure my custom visual so that the user can select an image, which will appear as a header. For this, in "settings.ts" I have added this code:
As a result, a control labeled "Imagen" appears, displaying a dialog for selecting an image.
The problem is that it does not keep the selected file. In the file "capabilities.json" I do not find any suitable data, when defining the property, which I associate with the file selected in the dialog.
Are there any examples of using these types of controls for image selection?
Thanks a lot.
Regards.