How to add file browse button in module file

i try to add a file browse button in panel side div but i can’t

.addTextInput({

  path: 'imageURL',

  name: 'URL',

  description: 'A valid image URL i',

  settings: {

    placeholder: 'https://example.com/image.jpg',

  },

  showIf: (config) => config.type === 'image',

}).

the above code is add textbox ,how to add file browser button in page?

I don’t think something like that is supported out-of-the-box. Sounds like you’d have to build a custom editor.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.