0

zk combobox filtering option is not working inside listbox .

asked 2017-03-08 12:01:50 +0800

sahil gravatar image sahil
1

updated 2017-03-08 12:02:34 +0800

<template>
<listitem>
<listcell>
<combobox width="70%" sclass="info info-combo" readonly="false" hflex="1"
                                        autodrop="true"
                                        autocomplete="true"
                                        focus="@load(propertyInfoData.focusOnFirstField)"
                                        id="${vm.concat(propertyInfoData.propertyInfoRecord.propertyInfoCode)}"
                                        visible="@load(!vm.showEdit)"
                                        disabled="@load(vm.isRowDisable(propertyInfoData))"
                                        tooltiptext="${vm.getText('PropertyInfoDetail:SELECT')} ${propertyInfoData.propertyInfoDesc}(${vm.getText('PropertyInfoDetail:CHOOSE')})"
                                        model="@load(propertyInfoData.infoobj)"
                                        selectedItem="@bind(propertyInfoData.selectedInfoChoose)"
                                        itemRenderer="com.csdcsystems.amanda.common.SelectOptionRenderer"
                                        placeholder="@load(vm.getText('PropertyInfoDetail:CHOOSE'))"/>
                                    <label maxlength="80"
                                        id="${vm.concat(propertyInfoData.propertyInfoRecord.propertyInfoCode)}_span"
                                        value="@load(propertyInfoData.infoChooseValue)"
                                        tooltiptext="@load(propertyInfoData.infoChooseValue)"
                                        visible="@load(vm.showEdit)" />

</listcell>
</listitem>
</template>

by attribute autocomplete, on typing a string it is selecting the entire word then again typing it is taking it as a new word. for e.g there a word Environmentalpermit. on typing Env it is getting selected Environmentalpermit(listitem) and after typing "ir" it is populating as "Environmentalpermitir". Expected/Right behavior: the focus should remain on Environmentalpermit(listitem) and inside combo box it should be "Envir".

Note: It is not working with internet explorer browser. It is working fine with google chrome browser.

Zk version: 7.0.8

delete flag offensive retag 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: 2017-03-08 12:01:50 +0800

Seen: 25 times

Last updated: Mar 08 '17

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