Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2848

Whem using tab the combobutton don't get focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.6
    • Components
    • None
    • Windows 8.1 with chrome 44 and ie 11

      When using the tab key to change focus of component the focus never position on combobutton.

      Example:
      <zk>
      <hbox pack="center" align="top" width="100%" height="400px">
      <style src="/widgets/combobox/simple_combobox/css/simple_combo.css" />
      <div apply="org.zkoss.bind.BindComposer" height="278px" width="443px"
      viewModel="@id('vm') @init('com.teste.comboButton.comboButton.MyViewModel')">
      <separator spacing="40px" />
      <hbox>
      <vlayout>
      <separator/>

      <textbox value="teste1" focus="true"></textbox>

      <label value="Color" />
      <combobutton id="cmbColor" width="150px" label="escolhe cor" >
      <menupopup children="@load(vm.names)">
      <template name="children" var="node">
      <menuitem label="${node}" ></menuitem>
      </template>
      </menupopup>

      </combobutton>

      <textbox value="test2"></textbox>

      </vlayout>

      <vlayout>
      <separator/>

      <textbox value="test3"></textbox>

      <label value="Color2" />
      <combobutton id="cmbColor2" width="150px" label="color" >
      <menupopup children="@load(vm.names)">
      <template name="children" var="node2">
      <menuitem label="${node2}" ></menuitem>
      </template>
      </menupopup>

      </combobutton>

      <textbox value="test4"></textbox>

      </vlayout>
      <vlayout>
      <separator/>

      <textbox value="test5"></textbox>

      <label value="Color2" />
      <combobutton id="cmbColor3" width="150px" label="color:" >

      </combobutton>

      <textbox value="test6"></textbox>
      </vlayout>

      </hbox>
      </div>
      </hbox>
      </zk>

            Unassigned Unassigned
            miguelbrum miguelbrum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: