Re: Spectrum UI components

2022-02-28 Thread Harbs
> How can I use an arrayList of data objects instead ? > The spectrum combobox also doesn't have a change attribute. How do you > execute an event on selecting from the list. It looks like we forgot to add Event metadata for that. Fixed. https://github.com/unhurdle/spectrum-royale/commit/a53c

Re: Spectrum UI components

2022-02-28 Thread Roman Isitua
Is there a label property ? That allows us to specify the field in our data object to be used ? Also, How can we access this latest change ? We are using spectrum based on royale 0.9.8 with this commit id "024b730" In other words we are not on version 0.9.9-snapshot? On Mon, 28 Feb 2022, 0

Re: Spectrum UI components

2022-02-28 Thread Harbs
Spectrum Menus are a bit non-standard when it comes to data. It expects an IMenuItem. If it’s a plain object, the text is set to the label or text property of the object and the rest of the menu properties are inferred as well. The original object is *replaced* with a MenuItem if the original is

Re: Spectrum UI components

2022-02-28 Thread Roman Isitua
So that I am clear about what you said. By cherry pick you mean take what you just did on the royale spectrum source and apply it locally (on my pc) on the spectrum 0.9.8 source ? In other words what do you mean by cherry pick ? On Mon, 28 Feb 2022, 10:14 Harbs, wrote: > Spectrum Menus are a bi