Skip to content

Commit 241938d

Browse files
committed
TEMPORARY, breaking(pat-depends): Change default to show + enable behavior.
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.
1 parent 97f980f commit 241938d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/depends/depends.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const log = logging.getLogger("depends");
1111

1212
export const parser = new Parser("depends");
1313
parser.addArgument("condition");
14-
parser.addArgument("action", "show", ["show", "enable", "both"]);
14+
parser.addArgument("action", "both", ["show", "enable", "both"]);
1515
parser.addArgument("transition", "none", ["none", "css", "fade", "slide"]);
1616
parser.addArgument("effect-duration", "fast");
1717
parser.addArgument("effect-easing", "swing");

0 commit comments

Comments
 (0)