I'm new with grails, I have a g:field for a price input, the problem is that the user can enter a number with comma, for example if user enter 4,23 it will be processed as 423. How can I force to the user enter a dot instead of comma? Or are there some way to convert the comma in the input number to a dot?
This is my grails tag:
<g:field type="number decimal" min="0" maxFractionDigits="2" roundingMode="HALF_DOWN" name="price" value="${fieldValue(bean: productoProveedorInstance, field: 'price')}" required=""/>
Any suggestion will be helpful