Search Support
-
Andrzej MichalecJanuary 18, 2017 at 11:22 am #3507
I am experiencing backward compatibility issue in SPARK 4.4.7 with Single Select component. Variable bound to Single Select has one of values being on list of items configured for this Single Select. In 4.4.6EE (and earlier versions) first show of Single Select make it preselected to initial value of binding – intuitive and expected behaviour. After upgrade to 4.4.7EE running screen again shows Single Select initially empty (ignoring value of bound variable). Please confirm and plan fix for this misbehaviour.
Simplest scenario to recreate in CSHS:
1) create “selection” variable as list of String with default value of ‘ [“A”,”B”,”C”] ‘
2) create “selected” variable as String with default value of ‘ “A” ‘
3) add Single Select control, bind it to “selected” and configure items as “items from config options” specifying item list as “selection”.
4) use SPARK 4.4.6EE and run screen to see that on first display Single Select is show with “A” selected on start.
5) change dependency of SPARK to 4.4.7EE, run again and observe that no Single Select is empty on start.regards,
andy.Saroj PandaJanuary 20, 2017 at 2:17 am #3523Unfortunately this is breaking for us too. They have broken few more other working behaviors. You may want to look at this
http://support.salientprocess.com/forums/topic/date-format-issue-in-date-picker/
Regards,
Saroj
SPARK SupportJanuary 20, 2017 at 8:27 am #3525Hi Andy,
I was able to reproduce this issue. I have logged a bug to be fixed in an upcoming release.
In the meantime, to work around this issue, use the following code in the On Load event: me.setSelectedItem(me.getData());
Regards,
Stephen P.
Saroj PandaJanuary 24, 2017 at 2:54 am #3555Thanks Stephen for the work around. It’s working for now.
Regards,
Saroj
SPARK SupportJanuary 25, 2017 at 10:33 am #3566Hi Saroj,
Glad to hear that works with the work-around.
Regards,
Stephen P.
-
|
You must be logged in to reply to this topic.