Yes I agree, we need the following example of Google address data to autofill correctly:
complete_address_1 : 18
complete_address_2 : Brickworks Road, Kallangur
district : Moreton Bay Region
state : QLD
state_long : Queensland
country : AU
country_long : Australia
postal_code : 4503
city : undefined
street_number : undefined
neighborhood : undefined
premise : undefined
sublocality_level_1 : undefined
sublocality_level_2 : undefined
sublocality_level_3 : undefined
route : undefined
This needs to be auto filled like this here in Australia:
“billing_address_1” = 18 Brickworks Road (complete_address_1 & complete_address_2 needs to be on same line)
“billing city” = Kallangur (last part after the comma from complete_address_2)
“billing_state” = Queensland (state_long)
“billing_postcode” = 4503 (postal_code)
“billing_country” = Australia (country_long)
Is there someone that knows how to modify autofill.js to achieve these results? My coding skills aren’t that great.