Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

How to pass dialog properties by using variable #45

Open
ThummalaJanardhanReddy opened this issue Jan 29, 2020 · 1 comment
Open

How to pass dialog properties by using variable #45

ThummalaJanardhanReddy opened this issue Jan 29, 2020 · 1 comment

Comments

@ThummalaJanardhanReddy
Copy link

ThummalaJanardhanReddy commented Jan 29, 2020

How to pass properties of showOpenDialog({properties:['openFile'], filters:[]}) by using variable.

let command = 'openFile';

showOpenDialog({properties:[this.command], filters:[]});

I'm getting error with above approach, Can you tell me how to achieve that ?

@bampakoa
Copy link

@ThummalaJanardhanReddy could you please give some more details on the method showOpenDialog that you refer to?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants