Skip to content

Custom Action - Input Control (Checkbox) : Add 'Unchecked Value' and provide sensible defaults #1482

Closed
@goran-w

Description

@goran-w

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)...

Image

(The help-text below the Checked / Unchecked Value fields should be changed to say "... these values ...".)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions