how to template the confirmation text relative to the performed action on the button #1094
Mariusthvdb
started this conversation in
General
Replies: 1 comment 7 replies
-
|
confirmation can be set as an sub-option for any action. It doesn't need to be in the main configuration part. |
Beta Was this translation helpful? Give feedback.
7 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.
-
using a series of config templates the scenario is like this:
holding a button unlocks the lock, and next should just respond the next action, hold or tap.
the pop up confirmation should ideally reflect the action applied. I am not sure if that can be done, and if yes, how
This is the configuration I used:
and templates:
As the current confirmation is now on either action, this is rather confusing for the user, always seeing the 'do you want to toggle' ;-)
so should be in pseudo-code:
maybe even only confirmation on tap, hold/refresh would be ok always...
btw, I now realize the tap_action on the lock: template is futile, it never shows more-info I thinkit isnt, it executes on the open lock after all. factually overriding the tap_action on the main button
Beta Was this translation helpful? Give feedback.
All reactions