0

numeric keypad in the tablet numeric field

asked 2017-07-11 09:05:31 +0800

LuigiFabbri gravatar image LuigiFabbri
46 5

updated 2017-07-12 06:29:00 +0800

hello,

there is a way to show the numeric keypad in the tablet numeric field?

delete flag offensive retag edit

Comments

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 )edit

I tested it with a ipad of 4 or 5 years ago using firefox

LuigiFabbri ( 2017-08-19 11:12:45 +0800 )edit

Could you check iOS version? go to Settings/General/Version

hawk ( 2017-08-28 07:35:37 +0800 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2017-08-28 07:34:52 +0800

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

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

Comments

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 )edit
0

answered 2017-08-31 06:34:47 +0800

LuigiFabbri gravatar image LuigiFabbri
46 5

updated 2017-08-31 07:09:31 +0800

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)

link publish delete flag offensive edit
0

answered 2017-09-01 10:46:33 +0800

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

I have created a bug for your issue http://tracker.zkoss.org/browse/ZK-3734

link publish delete flag offensive edit

Comments

Thanks Hawk

LuigiFabbri ( 2017-09-01 11:51:58 +0800 )edit
0

answered 2017-09-05 10:01:51 +0800

LuigiFabbri gravatar image LuigiFabbri
46 5

updated 2017-09-05 12:13:11 +0800

Hi 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.

link publish delete flag offensive edit

Comments

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 )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
1 follower

RSS

Stats

Asked: 2017-07-11 09:05:31 +0800

Seen: 37 times

Last updated: Sep 05 '17

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