SOLVED

How to restrict decimals in numberfield

ganthimathir337
Level 2
Level 2

I am using coral numberfield in dialog.Is there any option to restrict the decimals in it?

1 Accepted Solution
Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor
4 Replies
Ravi_Pampana
Community Advisor
Community Advisor

Hi,

 

Check the below url using granite:data regex we can add restrictions

 

https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html

 

Hope this helps!

Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor