-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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 :
<component>
<component-name>textbox</component-name>
<extends>textbox</extends>
<property>
<property-name>inputmode</property-name>
<property-value>search</property-value>
</property>
</component>
in the lang-addon.xml
I am using Zk version 9
what am I doing wrong ?
thanks for your help !
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?
Asked: 2023-02-03 23:36:26 +0800
Seen: 6 times
Last updated: Feb 08