First time here? Check out the FAQ!
Hello,
I came across a weird issue with comboboxes. I have a combobox component to which I add different comboitems. Usually the selection of a comboItem goes as follows:
OpenEvent -> SelectEvent -> OpenEvent (for closure) -> done.
Recently I found that if a comboItem contains \n
or newlines
, ZK sends two SelectEvents. The second selectEvent is sent when clicking outside the dropdown and returns a null value. So the new flow looks like:
OpenEvent (opens dropdown) -> SelectEvent (selects corect comboItem) -> OpenEvent (closes dropdown) -> SelectEvent (selects no comboItem thus null).
I am not sure if this is the correct behaviour and i think it might be a possible bug
Hi There,
Which ZK version are you running? I tried making this fiddle to reproduce the case as described, but I can't get the same effect. https://zkfiddle.org/sample/2n8n2fn/13-Another-new-ZK-fiddle
Do you think you can test if it reproduce the issue on your side, or if it's missing anything to get the same effect? If you can reproduce, can you send a step-by-step of how to do it?
Asked: 2021-01-12 18:10:45 +0800
Seen: 7 times
Last updated: Jan 13
Column Layout Background Color
Migrate to ZK 9 From ZK 8 gives error
Component definition not found: drawer in [LanguageDefinition: xul/html] [closed]
ZK 9 Drawer Component - Help to set parent
Display data from database on a rendered Grid
ZK 9 Listhead property children not found exception