newism / craft3-fields

Address, telephone, email, embed and gender fields for CraftCMS 3.x
Other
54 stars 16 forks source link

Cannot read property 'serialize' of undefined - Address.js:88 #15

Closed bphippen closed 6 years ago

bphippen commented 6 years ago

Hi there, love the plugin but getting an error on line 88 of Address.js

Cannot read property 'serialize' of undefined

Worked great on Craft 3 beta but not working on Craft 3 RC

Also the default country is not populating.

leevigraham commented 6 years ago

@bphippen Which version are you using?

bphippen commented 6 years ago

@leevigraham 3.0.0-RC1

It seems to work fine after the address autofill fails once, then you save the entry, then try the address again.

leevigraham commented 6 years ago

Ok found the issue… Craft has updated some of it's HTML, I'll sort a fix now.