Is this possible in a custom app connect extension? It appears that this triggers a separate extension that's somehow referenced in the main medium extension?
I want to create something similar for the tiptap extension I'm working on.
Is this possible in a custom app connect extension? It appears that this triggers a separate extension that's somehow referenced in the main medium extension?
I want to create something similar for the tiptap extension I'm working on.
it probably togglers the visibility of some hidden properties. No idea how to do that via a button like that, i have always had to use a tick box to emulate that functionality
There is an undocumented input type of "button" but i have never been able to attach any type of action to it.
@George is it possible to define a property for selecting a Server Action?
I've somewhat mimicked the layout, but not sure how to launch the Server Actions picker (if it's even exposed for use).
{
"name": "dmx-tiptap-image",
"attributeStartsWith": "dmx-plugin",
"attribute": "file",
"groupTitle": "TipTap Editor",
"title": "Image Server Action",
"groupIcon": "fa fa-lg fa-keyboard",
"icon": "fa fa-lg fa-link",
"display": "fieldset",
"groupEnabler": true,
"type": "boolean",
"show": ["imageServerAction"],
"children": [
{
"name": "imageServerAction",
"attributeStartsWith": "dmx-plugin",
"title": "Image Server Action",
"attribute": "file",
"isValue": true,
"type": "text",
"help": "Select the server action to upload images.",
"defaultValue": ""
}
{
"name": "selectServerAction",
"attributeStartsWith": "dmx-plugin",
"title": "Select Server Action",
"attribute": "image-server-action",
"type": "button", // This allows selecting server actions in Wappler
"help": "Select the server action to upload images.",
"defaultValue": ""
}
],
"allowedOn": {
"dmx-tiptap": true
}
}
bubbling to top
Sorry must have missed this.
Yes we have a flag attribute that adds a server action picker next to the input field.
Out of my head it is called serverActionPicker and give it value of true
Thanks @George! I'll give that a try and report back.