十进制数字字段在AEM触摸UI对话框中不起作用 [英] Decimal number-field is not working in AEM touch UI dialog

查看:70
本文介绍了十进制数字字段在AEM触摸UI对话框中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在AEM(6.4)触摸UI对话框中创建了一个数字字段.我添加了步骤属性 0.1 .我尝试使用 0.01&0.001 .但是对于某些数字,没有任何模式,则不允许选择它们.对话框/数字字段会给出验证错误,并且不允许关闭对话框.

I've created a number-field in AEM(6.4) touch UI dialog. I've added step property 0.1. I've tried using 0.01 & 0.001 as well. But for certain numbers, without any pattern, it doesn't allows to select them. Dialog/Number fields gives validation error AND DOESN'T ALLOWS TO CLOSE THE DIALOG.

推荐答案

关于此问题,使用 step-String-0.0002 可使我输入最多三位的十进制值,并显示超出此位数的验证错误.

Concerning the issue, Using step-String-0.0002 allows me to enter a decimal value up to 3 places and shows validation error beyond that.

现在,使用 step-String-any .虽然,它的步进值为1,但允许我输入任何十进制值.

Now, using step-String-any. Although, it's step value is 1, but allows me to enter any decimal value.

参考- 更新:在上述情况下,用作String或double的步骤会产生相同的结果

Updated: In the above scenarios, a step used as String or double yields the same result

这篇关于十进制数字字段在AEM触摸UI对话框中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆