Method setInputmode not found for class org.zkoss.zul.Textbox

asked 2023-02-03 23:36:26 +0800

vince1101 gravatar image vince1101

Hi all !

I am trying to set the HTML5 tag inputmode for the textboxes in order to have the right keyboard to showup on mobile devices but I get this error

Method setInputmode not found for class org.zkoss.zul.Textbox

when I add :


in the lang-addon.xml

I am using Zk version 9

what am I doing wrong ?

thanks for your help !

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-02-08 12:14:32 +0800

hawk gravatar image hawk
3205 1 5
http://hawkphoenix.blogsp... ZK Team

The only component that has inputMode is org.zkoss.zhtml.Input. Textbox doesn't support that attribute, that's why you get the error. Where do you see that textbox supports the attribute?

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




Asked: 2023-02-03 23:36:26 +0800

Seen: 6 times

Last updated: Feb 08

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