- Issue created by @joehuggans
- Status changed to Needs review
about 1 month ago 10:38am 13 December 2024 - 🇬🇧United Kingdom joehuggans Harrogate, UK
@nikarika.s - I don't think this works, because the JS in the module looks for these data attributes, so it would break the field to remove them.
The only thing needed here is to update the annotation.
- 🇳🇱Netherlands tim_dj Netherlands
@niharika.s you are right the instructions are wrong but you should not change the code but the instructions in the annotations on line 31.
These should not include "data-"
- 🇬🇧United Kingdom joehuggans Harrogate, UK
I actually opened this issue myself @tim_dj, I've provided an MR already
- 🇳🇱Netherlands tim_dj Netherlands
@joe huggans
Looks good but missing some properties. Looking at code you will have to add the following as well:
#countries
#exclude_countries
#geolocation
#preferred_countries - 🇬🇧United Kingdom joehuggans Harrogate, UK
@tim_dj
Thanks for the reply, maybe we should add those properties in a separate code example because above the one in question it states "If you want a default country you need to do this:".
But as far as I am aware, the following are not required in order to set a default_country?
#countries
#exclude_countries
#geolocation
#preferred_countries