-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Describe the bug
NumberField always represent as text:
yield NumberField::new('price')
->
<input type="text" id="Object_price" name="Object[price]" required="required" inputmode="decimal" class="form-control" value="12,00">
price is float, try with int is same (db is double, or int)
To Reproduce
yield NumberField::new('price')->setNumDecimals(2) ;
(OPTIONAL) Additional context
Index show eg: 12.00, but in form it's a text...
no template overide and in all form it's same
last version : EasyAdmin (4.26.5)
Metadata
Metadata
Assignees
Labels
No labels