The current module code completely replaces the core edit.phtml template, which is not necessary.
It causes potential magento upgrade issues (due to replaced address template), and makes the module incompatible with Hyva Theme
This change negates the issue https://github.com/shipperhq/module-address-autocomplete/issues/31 as the address entry fields are kept as per the core / theme installed edit,phtml. I suspect the reason the fields are re-ordered in such a way is due to an older magento version edit.phtml being used.
I have refactored address entry autocomplete.
The current module code completely replaces the core edit.phtml template, which is not necessary. It causes potential magento upgrade issues (due to replaced address template), and makes the module incompatible with Hyva Theme
This change now also fixes https://github.com/shipperhq/module-address-autocomplete/issues/30 as the autocomplete code is negated/included via xml directive: https://github.com/ProxiBlue/module-address-autocomplete/blob/refactor_customer_address_entry_autocomplete/src/view/frontend/layout/customer_address_form.xml#L15
This change negates the issue https://github.com/shipperhq/module-address-autocomplete/issues/31 as the address entry fields are kept as per the core / theme installed edit,phtml. I suspect the reason the fields are re-ordered in such a way is due to an older magento version edit.phtml being used.
I have tested this in clean 2.4.2 and 2.4.3