[EOS FEATURE REQUEST] Dynamic eval in Choice option labels

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
fapnip
Explorer At Heart
Explorer At Heart
Posts: 430
Joined: Mon Apr 06, 2020 1:54 pm

[EOS FEATURE REQUEST] Dynamic eval in Choice option labels

Post by fapnip »

Currently, if you manually add an <eval>yourJavascriptExpression()</eval> as the label for Choice action options, the expression will be evaluated and the rendered button will contain the value returned from the evaluated expression -- but it will only happen once. If the same choice is displayed again, it will not re-evaluate the expression, instead displaying the now stale result.

Please update the choice option buttons to re-evaluate their label expression rather than using the previously cached results. This would dramatically simplify creation of setting option buttons (option on/off), random multiple choice answers, etc.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests