-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected: 4.3.0
Description
The TypeGuesser (DoctrineOrmTypeGuesser) sets the option input to string which causes the StringToFloatTransformer to take effect. Passing a float from the model to the form causes the transformation to fail
Possible Solution
Remove the option input: string from the TypeGuesser or allow values which are already a float to pass the transformer.
Why this option is added for a DecimalType (as a default) in the first place is a riddle to me.