-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Country is effectively a required field. #8
Comments
Should be fixed now. |
Thank you! |
The current fix does not resolve the issue. A NULL country (empty ) must be prepended to the list to resolve the issue. |
See pull request with tested fix: |
The fix does work for me. The empty option is added here: https://github.com/nlemoine/acf-country/blob/master/fields/acf-country-helpers.php#L62-L64 Tested with with native select and select2. Could you tell me more about your field options? |
the empty option not working for me after you fixed. please check with screenshot and i will you login website detail for you checking. check image link hope you will help me solve soon. |
There seems to be no way to have
county
be not required. Even setting therequired
field to 0 and thedefault_value
field to an empty string will have ACF Country use the first country (Afganistan in English) as the default.The text was updated successfully, but these errors were encountered: