How to restrict decimals in numberfield | Community
Skip to main content
New Participant
April 27, 2021
Solved

How to restrict decimals in numberfield

  • April 27, 2021
  • 4 replies
  • 1177 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anudeep_Garnepudi

@ganthira1 

Try below config

4 replies

Nikhil-Kumar
New Participant
April 28, 2021
arunpatidar
New Participant
April 28, 2021
Anudeep_Garnepudi
Anudeep_GarnepudiAccepted solution
New Participant
April 28, 2021

@ganthira1 

Try below config

Ravi_Pampana
New Participant
April 27, 2021

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!