I have a SplitButton, mapped to a data structure. I wish I can programmatically decide which item to select.
Something like button.setSelectedIndex(3)
or button.setSelectedLabel("Fourth Item")
or button.setSelectedItem({existingObject})
Say I have a split button where the labels are "Label1" and "Label2" ... I also tried to use button.setValue("Label2")
(like I'd do for a List) but nothing happens