EasyAdminBundle
EasyAdminBundle copied to clipboard
Is there a reason, why the UrlField doesn't use the `formattedValue` on the `detail` page?
Short description of what this feature will allow to do:
I'm working with some legacy data, which has an field for a web address. Some of the addresses have a protocol attached, some don't. I wanted to normalize the output via the formattedValue method, but noticed the UrlField doesn't use the formatted value on the detail page: https://github.com/EasyCorp/EasyAdminBundle/blob/0012cefe8686687b524ec161efc1a175007eb637/templates/crud/field/url.html.twig#L6-L10
I couldn't find any reasoning in the Git history or issues. Is there any specific reason this is the case? And could it be altered to always use the formatted value?