Closed mikestecker closed 6 years ago
@mikestecker, Thanks for the report. I'll take a look. Which version of Craft3 are you running?
@leevigraham I'm running the latest beta which is 26 I believe.
@leevigraham hey just wanted to follow up on this. I'm on beta 34 now and the problem is still happening.
@mikestecker, Whats in your entryversions table for the entry? Can you paste the value of the data column?
@leevigraham sorry for the delay... I just made it so it always show the country code dropdown at all times to get around the issue for now. Here's the relevant part of one of my entryversions tables:
"108":{"countryCode":"US","rawInput":"765-662-9931","phoneNumber":[]}
@mikestecker … finally getting some time to look at this. I think in more recent versions I've removed the option to hide the drop down. Which version are you currently running?
@leevigraham I'm running your latest version so that issue has gone away now. It would be nice to be able to set a default country though so the user doesn't have to select it each time.
It would be nice to be able to set a default country though so the user doesn't have to select it each time.
I agree… I'll add it back in a future version and make sure it works properly this time :)
When adding a phone number field and deselecting the
Show country selector
checkbox. I am presented with an errorUndefined index: countryCode
when saving an entry.Edit: I had a look in my database to see how the field settings are stored. They give me this: