-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Don't know if it can be called a 'bug'. Maybe 'room for improvement'. The thing is as follows:
Steps to reproduce:
- Follow the Installation steps.
- Make latitude and longitude visible as text types.
- Go to the backend in your browser and put an incorrect value like 'aaaa' in either latitude or longitude (or both).
What happens:
The validation errors for those fields are shown at the start of the form.
What should happen:
Each of those validation errors should be shown next to the corresponding field.
How to solve:
I think using the error_mapping option from Symfony Forms documentation should work (unless I misunderstood that option, which would not be rare XD) but I'm not able to get it right. Don't know where to use the error_mapping option. The AddressMapType? The AddressableAware model? The fields?
What to put in the left and right sides of that option?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels