Found the problem. I was assigning to form.country an object with the property dial_code from an external JSON with all the countries.
form.country
dial_code