Description
When creating/editing a Checkbox
input-control for a Custom Action
, we should be able to specify a Unchecked Value
, just like the Checked Value
already present.
Also, these two fields of Checked Value
/ Unchecked Value
should start pre-filled with sensible defaults, like true
/ false
, 1
/ 0
(or similar).
Motivation: Currently the input-variable is expanded to an empty string by default, when the checkbox is unchecked. This makes it a bit error-prone, since this argument will then be skipped and will break the order of arguments, unless it is enclosed in quotes on the resulting command-line. Also, the Checked Value
is currently empty by default, which means there will be no distinction between checked/unchecked if we just create a checkbox without touching this field. Adding the Unchecked Value
as a modifiable field, and providing non-empty defaults for both of these fields, would improve its ease-of-use (while still supporting empty-string variants if desired)...
(The help-text below the Checked / Unchecked Value fields should be changed to say "... these values ...".)