danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
187 stars 14 forks source link

File picker option #241

Open dxcore35 opened 4 months ago

dxcore35 commented 4 months ago

FEATURE DESCRIPTION

Create new option here:

Screenshot 2024-04-24 at 16 45 49

It will open file picker:

image

It can return object or it can just return full path of this file for another use in javascript.

EXAMPLE USE CASE

I have modal to create new project and I would like to set the image cover for this. The modal will return me the full path of file I select with this new feature. And in javascript I will copy this file into project folder and change his name.