Forum

Armin Winkler
      Has successfully completed the online course Introduction
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Advanced (300)
      Has successfully completed the online course Basics (100)
    1 year ago #39707
    Up
    0
    Down
    ::

    Hi Alex,

     

    the ‘selectedKey’ property was introduced as a custom property by us to enable app builders to handle RadioButtonGroups in a similar fashion to e.g. a Select widget. This would be the reason why you cannot find said property in the UI5’s official API reference. If you want to preselect and modify the widget using a variable binding, my suggestion would be to use the native ‘selectedIndex’ property of the RadioButtonGroup instead.

     

    If you encounter a bug related to the behaviour of ‘selectedKey’ for RadioButtonGroup when bound to a variable, please raise a ticket for the same so we can find a possible fix for it: Support

     

    Kind regards,

     

    Armin