Closed CreateSean closed 2 weeks ago
multiline
is a method which takes several things into account when rendering. You won't gain much by dumping the whole address
, that's a red herring.
What are you expecting to see in your output? What are you seeing instead?
@lindseydiloreto I was expecting {{ address.multiline() }}
to output the full address as it is in the entry field.
You may have been expecting something closer to the formatted
value. For more info, read these docs about the difference between multiline
and formatted
...
https://plugins.doublesecretagency.com/google-maps/models/address-model/#multiline-vs-formatted
Hope that helps! 🙂
Craft: 5.3.6 Google Maps: 5.0.2
I have this code which is not outputting the address as expected
I then did a
{{ dump(address) }}
and can see the fake address I put in the field.Please advise