Geocode autocompleted addresses without the leaflet map showing

Created on 30 July 2025, about 2 months ago

Problem/Motivation

On a simple end-user facing form we want to geocode the addresses, keeping the autocomplete and select, but do not want the additional map displayed - for simplicity.

Proposed resolution

Include only the geofield input field, hidden, populated with the same javascript as present; don't display the leaflet map.

Remaining tasks

Either:

  • Make a patch for geofield default input to optionally hide it;
  • Add CSS to hide the present geofield default input (but how to make that optional?)
  • Make a simple widget that extends the default that is hidden

I've sent a message to itamar to ask if the first is an option; otherwise suggest we go with the third.

Feature request
Status

Active

Version

1.1

Component

Code

Created by

🇳🇱Netherlands ekes

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