Hide marker button when map position is reset

Created on 9 October 2024, 5 months ago

Problem/Motivation

Add button to reset marker on form display Fixed introduced a feature that allows to reset the map marker in the field widget. In combination with the setting for hidding the lat/long textfields, this creates some confusion in the UI. When the user clicks on the "Remove marker" button, when these textfields are hidden, there is not much of actual feedback that could inform the user that the action was successful. It's also a bit counter-intuitive that the marker is still visible after clicking on a button that reads "Remove marker".
So I think this feature would benefit from completely hiding the marker when the button is clicked.

Steps to reproduce

Setup the widget on a field. Configure it with "Click to remove marker: enabled" and "Lat/Lon coordinates hidden: enabled".
Go to an edit form that shows the widget and click on "Remove marker" button.

Proposed resolution

Hide the marker completely when the button is clicked.

Feature request
Status

Active

Version

3.0

Component

User interface

Created by

🇩🇪Germany berliner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024