0

How to clear searcher box from a searchbox

asked 2022-04-01 00:11:45 +0800

softteam gravatar image softteam
130 8

Hi,

I am using a searchbox component and I would like to know how can I clear the searcher box via java controller. I refer to the red part:

image description

Thank you,

Javier

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-04-01 17:30:12 +0800

MDuchemin gravatar image MDuchemin
2136 1 5
ZK Team

Hi Javier,

Good question. There is no such API at the current time.

You can do it manually though: https://zkfiddle.org/sample/1sgc3cp/1-Another-new-ZK-fiddle

This said, that seem like a good feature to have. I've put a feature request up here: https://tracker.zkoss.org/browse/ZK-5136

link publish delete flag offensive edit
Your answer
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

RSS

Stats

Asked: 2022-04-01 00:11:45 +0800

Seen: 9 times

Last updated: Apr 01

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