• Christian Templin
    June 30, 2016 at 7:05 am #2246


    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:

    1. Change from no selection to EUR: No prefix
    2. Change from EUR to USD: € is now shown
    3. Change from USD to GBP: $ is now shown
    4. 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 Support
    June 30, 2016 at 10:47 am #2247


    This is a bug and has been added to the backlog.

    Thank you for reporting.


    Christian Templin
    July 1, 2016 at 12:45 am #2248

    Ok. Thanks for the update!

    SPARK Support
    July 1, 2016 at 3:44 am #2249

    I can now tell you this is fixed in the upcoming release


    Christian Templin
    July 1, 2016 at 3:51 am #2250

    Great, 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 French
    July 6, 2016 at 5:03 pm #2281

    We pushed the release yesterday. It should be available to you now.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search