Skip to content

Commit

Permalink
TEMPORARY, breaking(pat-depends): Change default to show + enable beh…
Browse files Browse the repository at this point in the history
…avior.

Note: if this is in the main tree of this repo, then this temporary
feature slipped in. Anyways, I think we should always show/hide and
enable/disable at the same time.

Before action mode "show" was the default and "enable" behavior was
used. Now we change the visibilit and the endabled/disabled state of
inputs per default.
  • Loading branch information
thet committed Jan 4, 2025
1 parent f7925f7 commit af79332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pat/depends/depends.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const log = logging.getLogger("depends");

export const parser = new Parser("depends");
parser.addArgument("condition");
parser.addArgument("action", "show", ["show", "enable", "both"]);
parser.addArgument("action", "both", ["show", "enable", "both"]);
parser.addArgument("transition", "none", ["none", "css", "fade", "slide"]);
parser.addArgument("effect-duration", "fast");
parser.addArgument("effect-easing", "swing");
Expand Down

0 comments on commit af79332

Please sign in to comment.