Multi Choice Allows for a Duplicate Shortcut Key #408
tommymaynard
started this conversation in
Ideas
Replies: 2 comments
-
+1 I just ran into the same where I had two choices starting with the same letter |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried looking at the code, and it doesn't seem that this is something that Plaster does automatically, it is a function of the The workaround is the solution in this case I think. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The multi choice parameter allows you to use the same letter as a shortcut key for more than one choice.
In the above example, if the letter "P" is used as a shortcut it will create both the Private and Public folder. My current work around is to use different letters.
It seems buggy that Invoke-Plaster, and perhaps Test-PlasterManifest, would allow for this behavior. The expected behavior would be an indication to the user that there's a conflict, and that a different value should be used for one of the choice labels.
Beta Was this translation helpful? Give feedback.
All reactions