It's possible to use the widget "Geocode from another field", it exposes an option to "Allow manual lat/long override". If we check this checkbox, the lat/lon field is exposed when editing a content without checking this checkbox.

It's related to the form structure that changed, the lat/lon fields are now a dedicated element type. Allowing the override should probably reworked to be passed as an attribute to the element type.
At least the code from geocoder_process_override() is invalid.

Comments

Artusamak created an issue. See original summary.

artusamak’s picture

Status: Active » Needs review
StatusFileSize
new715 bytes

Here is a patch for that.

artusamak’s picture

StatusFileSize
new1.51 KB

Here is an update, the widget form needs to have this update too or it generates a warning.

phily’s picture

Thanks Artusamak, the patch works.

denix’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @PhilY, for us is working too. I move to reviewed.

  • itamair committed f4f43c0 on 7.x-1.x authored by Artusamak
    Issue #3125359 by Artusamak: The override lat/lon checkbox states API is...
itamair’s picture

Status: Reviewed & tested by the community » Fixed

committed into dev, will be part of the ext 7.x-1.x release

thegreatone’s picture

Just tested this in a clean simplytest.me site...and it didn't kept it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.