royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: Dropdowns
Date Wed, 13 Dec 2017 21:21:45 GMT
That's great, but doesn't the Basic DropDownList do this too?

Here is a demo of the HTML Select tag [2].  For me it shows a checkbox and
highlight for the selected item.
Here it is in use in FlexJSStore [3].  Go to Products tab and look at the
"Years of Experience" dropdown.

-Alex

[2] https://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_select
[3] http://home.apache.org/~aharui/FlexJS/FlexJSStore/bin/js-release/

On 12/13/17, 1:08 PM, "Piotr Zarzycki" <piotrzarzycki21@gmail.com> wrote:

>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]
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflex
>build.cloudapp.net%3A8080%2Fjob%2FMDLExample%2FlastSuccessfulBuild%2Fartif
>act%2Fexamples%2Froyale%2FMDLExample%2Fbin%2Fjs-debug%2Findex.html&data=02
>%7C01%7Caharui%40adobe.com%7C5b3cb74c7d344ab20afd08d5426daf38%7Cfa7b1b5a7b
>34438794aed2c178decee1%7C0%7C0%7C636487961223884189&sdata=euNEiQPN03x5%2FQ
>3ToNZOu5B9XWMLya48yxZfTNXv2Aw%3D&reserved=0
>
>2017-12-13 21:36 GMT+01:00 Alex Harui <aharui@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.lists@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
>><piotrzarzycki21@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.lists@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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5b3cb74c7d344a
>b20afd08d5426daf38%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364879612
>23884189&sdata=HOJLPaOWpxy6B2kWW6cBUtcSyC7xZy%2FXKrpqveICBbo%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5b3cb74c7d344a
>b20afd08d5426daf38%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364879612
>23884189&sdata=HOJLPaOWpxy6B2kWW6cBUtcSyC7xZy%2FXKrpqveICBbo%3D&reserved=0
>>*

Mime
View raw message