Active
Project:
Address Field
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2017 at 00:02 UTC
Updated:
16 May 2019 at 23:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lucashodge commentedThe following patch stops addressfield_field_widget_form from wiping the address fields when the user submits the form.
Comment #3
lucashodge commentedFilename had a hidden space, re-attaching.
Comment #4
bojanz commentedTo confirm, you're only seeing this issue when trying to use the widget without JS, right?
Comment #5
bember commentedI've experienced the same issue and #3 works great. Thanks @lucashodge!
Comment #6
bember commented@lucashodge it turns out that my issue was caused by using a form_alter hook to change a country default value. It is recommended to use hook_addressfield_default_values_alter() instead. I wonder if that's your case too.
For further details: https://www.drupal.org/project/addressfield/issues/2392855