-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow expressions in [confirm: …]
attribute
#2287
Comments
But the issue is still valid, since you can't do: [confirm("Really do stuff with " + arg + "?")]
action arg:
@echo Doing stuff with {{arg}} Changing this would require accepting an expression in the confirm attribute, and evaluating it. This is a somewhat involved change, since then the evaluator needs to evaluate expressions inside of attributes, but I think it's reasonable. |
casey
changed the title
[confirm()] attribute does not process variable substitutions
Allow expressions in Jul 31, 2024
[confirm: …]
attribute
Close in favor of #2521 ? |
Yup, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on the docs and some tests it doesn't seem possible to use variable substitutions in confirm messages. I would have expected something like this to work:
But it doesn't:
The text was updated successfully, but these errors were encountered: