so-widgets-bundle
so-widgets-bundle copied to clipboard
Google Maps: Marker item label not updated after widget block preview.
Steps to reproduce:
- On a block editor page with a Google Maps widget, add a new location marker.
- Go to the preview and go back to edit mode.
- The marker repeater item label displays Marker until the repeater item is expanded.
Expected behavior: The repeater item label should display the marker location without having to expand the repeater item.
I looked into this briefly and it's being caused by the location field's display input not having the value set at the time the repeater is initially set up. IMO this is a really minor display issue that only occurs for new markers, so I can be safely left as is for the time being.
I've come across this issue and can confirm all of the above.