Search Support
-
Christian TemplinJune 30, 2016 at 7:05 am #2246
Hi,
we have recently started to evaluate SPARK for our Process App and I came across this issue:
On our coach there is a currency selection so that the user can choose in which currency the entries of a costs table are shown. So when the user selects another currency a boundary event is triggered and 1) the values are updated using the appropriate exchange rate and 2) the currency symbol in the Decimal control is updated to the newly selected one.
From my understanding, the way to do this, is to bind the Prefix configuration option of the Decimal control that displays the costs to a variable which stores the currency symbol (“$”, “€”, etc.). However, when the value of this bound variable changes, this change is not reflected in the output of the Decimal control. In fact, it seems to remain one step behind, like so:
- Change from no selection to EUR: No prefix
- Change from EUR to USD: € is now shown
- Change from USD to GBP: $ is now shown
- and so on…
If I click in the Decimal control and then out of it again, the onblur does seem to trigger an update/refresh so then the correct prefix is shown. But simply changing the binding does not trigger a proper visual update (well, it does but for the previous value as described above).
So am I using this wrong? Should I set this up differently? Any help would be much appreciated!
SPARK SupportJune 30, 2016 at 10:47 am #2247Christian:
This is a bug and has been added to the backlog.
Thank you for reporting.
JMAC
SPARK SupportJuly 1, 2016 at 3:44 am #2249I can now tell you this is fixed in the upcoming release
JMAC
Christian TemplinJuly 1, 2016 at 3:51 am #2250Great, that was super fast! For now, we are using the Input Group to display the currency symbol which works perfectly (and looks nice too).
Brian FrenchJuly 6, 2016 at 5:03 pm #2281We pushed the release yesterday. It should be available to you now.
-
|
You must be logged in to reply to this topic.