-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hello,
there is a way to show the numeric keypad in the tablet numeric field?
Hello Cor, hello Hawk,
in my ipad the numeric keypad only works without the format property,
Example
<doublebox/> work
<doublebox format="#,###,##0.00"/> don't work ( is a bug ? )
<doublebox xmlns:ca="client/attribute" ca:pattern="[0-9]*" format="#,###,##0.00"/> work
If you try inserting the format property without patterns property does not work.
I've tested it both on safary and firefox, the version of my IOS is 10.3.3 (14G60)
It's hard to get an old firefox and install on iOS 5.1.1. I have tested Safari on iPad (iOS 5.1.1), it still pops up the numeric keypad for an intbox.
According to https://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/, you can try
<zk xmlns:ca="client/attribute">
<intbox ca:pattern="[0-9]*"/>
</zk>
thanks with xmlns:ca="client/attribute" and ca:pattern="[0-9]" work , but the strange thing is ( for me is a bug :-) ) <doublebox/> work , <doublebox format="#,###,##0.00"/> don't work, <doublebox xmlns:ca="client/attribute" ca:pattern="[0-9]" format="#,###,##0.00"/> work
LuigiFabbri ( 2017-08-31 07:07:07 +0800 )editHi Hawk,
maybe I found another anomaly, in bandbox component the ca:pattern property don't work.
example:
<textbox xmlns:ca="client/attribute" ca:pattern="[0-9]*"/> show numeric keypad
<bandbox xmlns:ca="client/attribute" ca:pattern="[0-9]*"/> don't show numeric keypad (is a bug?)
In some cases I need to show the numeric keypad in the bandbox too.
For the bandbox i solved whit this command Clients.evalJavaScript("jQuery(\"#" + cmp.this.getUuid() + "-real\").attr(\"pattern\",\"[0-9]*\")");
LuigiFabbri ( 2017-09-06 08:05:32 +0800 )editAsked: 2017-07-11 09:05:31 +0800
Seen: 37 times
Last updated: Sep 05 '17
ZK how to carry out mobile development
Display on resolution 1024x768
In Tablet devices, the listbox does not keep the scrollbar position when selecting an item
set focus in a textbox on button click in the tablet don't work
Camera snapshot won't fire onSnapshotUpload event
this happens by default on my android phone or on an ipad when using <intbox/> or <decimalbox/> which device are you testing on?
cor3000 ( 2017-08-11 05:05:09 +0800 )editI tested it with a ipad of 4 or 5 years ago using firefox
LuigiFabbri ( 2017-08-19 11:12:45 +0800 )editCould you check iOS version? go to Settings/General/Version
hawk ( 2017-08-28 07:35:37 +0800 )edit