0

Listbox not working on Firefox when inside Drag&Drop ListItem

asked 2015-09-08 14:37:21 +0800

Norberto gravatar image Norberto
1 1

updated 2015-09-08 15:03:51 +0800

Hello,

I have a listbox in a template, wich is both draggable and droppable. When I press on the listbox 'open' button, nothing happens.

Works if I set both draggable and droppable to false. Works always fine with Chrome.

How to make it work?

Zk: ee 7.0.2

Firefox: 40.0.3

<listbox model="@bind(viewModel.object.details) oddRowSclass="non-odd">
    <listhead>
        <listheader label="Tag" hflex="1" align="right"/>
    </listhead>

    <template name="item" var="det">
        <listitem 
            value="@load(det)" 
            draggable="true" 
            droppable="true" 
            onDrop="@command('dragDropDetail')">
            <listcell>
                <listbox 
                    selectedItem="@bind(det.tag)" 
                    model="@load(viewModel.tags)" 
                    hflex="1" 
                    mold="select">
                    <template name="model">
                        <listitem label="@load(each.tagCode)" value="@load(each)"/>
                    </template>
                </listbox>
            </listcell>
        </listitem>
    </template>
</listbox>
delete flag offensive retag edit

Comments

where is the open button?

Alecs ( 2015-09-10 12:48:06 +0800 )edit

I'm talking about the button each combo box have to open it's own drop-down list.

Norberto ( 2015-09-10 13:17:16 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-09-08 14:37:21 +0800

Seen: 30 times

Last updated: Sep 08 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More