I think the way as you described is being done in MDL. How it's working can
be found in our MDLExample app [1] - Last tab Drop Down List

[1]
http://apacheflexbuild.cloudapp.net:8080/job/MDLExample/lastSuccessfulBuild/artifact/examples/royale/MDLExample/bin/js-debug/index.html

2017-12-13 21:36 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>:

> I am not understanding something.  The Basic DropDownList just wraps a
> <Select>.  That's all it should do.  I thought <Select> knew how to show
> what is selected?
>
> Anything else can be added via PAYG principles, including DropDowns that
> have custom item renderers.
>
> My 2 cents,
> -Alex
>
> On 12/13/17, 11:20 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>
> >I didn’t. Thanks.
> >
> >I’ll take a look. (although we really should create a better standard
> >dropdown component)
> >
> >> On Dec 13, 2017, at 9:17 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com>
> >>wrote:
> >>
> >> Hi Harbs,
> >>
> >> Did you try MDL DropDownList ? Maybe it is something which can help you.
> >>
> >> Thanks, Piotr
> >>
> >> 2017-12-13 20:11 GMT+01:00 Harbs <harbs.li...@gmail.com>:
> >>
> >>> Currently Royale has only very simple dropdown support.
> >>>
> >>> Here’s my idea of what a full-featured dropdown component should look
> >>>like:
> >>>
> >>>https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fsemanti
> >>>c-ui.com%2Fmodules%2Fdropdown.html&data=02%7C01%7Caharui%40adobe.com
> %7Ce
> >>>bbe6606359048fb283208d5425ea911%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7
> >>>C0%7C636487896692404835&sdata=Ljp6dAnb%2FoEs0adpQqj4OD%
> 2BIzYJsjTpw3w5eu0
> >>>m074I%3D&reserved=0
> >>><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fsemant
> >>>ic-ui.com%2F&data=02%7C01%7Caharui%40adobe.com%
> 7Cebbe6606359048fb283208d
> >>>5425ea911%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63648789669240483
> >>>5&sdata=MUxYDV6AjBLhfq%2FH5Hh5R0jHm9WfhQjBmGhfl3Y7Mis%3D&reserved=0
> >>> modules/dropdown.html>
> >>>
> >>> Right now, the feature that I needed is a dropdown with “selected”.
> >>>Either
> >>> a checkbox or some other selection indicator is probably acceptable.
> >>>Has
> >>> anyone given thought into implementing a dropdown component yet?
> >>>
> >>> Harbs
> >>
> >>
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >> Patreon:
> >>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7Cebbe66063590
> >>48fb283208d5425ea911%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6364878
> >>96692404835&sdata=qkOHbSfErUjMxE2cG3QWQJhddovwLu
> rgl%2B0VArfsAqg%3D&reserv
> >>ed=0
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pat
> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7Cebbe66063590
> >>48fb283208d5425ea911%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6364878
> >>96692404835&sdata=qkOHbSfErUjMxE2cG3QWQJhddovwLu
> rgl%2B0VArfsAqg%3D&reserv
> >>ed=0>*
> >
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to