Possibility to mutate the countries list #6366
Replies: 2 comments
-
You can create your own custom |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, I can |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to mutate the countries list in the Country field. Right now, the countries are hardcoded as options. I understand you use the ISO 3166 list. But this list is not always functional. Example: I need the country to be Bonaire or Saba. But I can only select BQ ('Bonaire, Sint Eustatius and Saba'). So, I would like to remove 'BQ' and add
'BQ-BQ' => 'Bonaire'
and'BQ-SA' => 'Saba'
. Please see https://www.iso.org/obp/ui/#iso:code:3166:BQI have created a workaround in a
Trait,
but I'm wondering if there is another way?Beta Was this translation helpful? Give feedback.
All reactions