quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

[BUG] QuickAdd.variables : If a variable is empty (""), we get an input prompt for it.

Open Elaws opened this issue 2 years ago • 0 comments

Description :

Empty variables ("") declared in QuickAdd.variables will trigger an input prompt.

Desired outcome :

We should be able to choose if we want an input prompt for empty variables or not.

Any way to change this behavior ?

Usecase :

In a .js script made to import movies, I define the variable myRating in QuickAdd.variables. If the movie has been seen, this variable is worth the rating (e.g. : "8/10"). Else, this variable is empty ("").

If I decided that the variable myRating is empty, I don't want a prompt to specify its value, which is the case currently.

Workaround :

If an empty variable is desired, define it as " " and not as "".

Elaws avatar Jan 16 '22 12:01 Elaws