-
Notifications
You must be signed in to change notification settings - Fork 5
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
Select field for icon no longer works #7
Comments
Thank you, Thomas! I'll fix and push to live. |
Hi Bogdan, I mentioned, that my solution only works, if the field settings are saved, but not if I add a field. This is because on adding the field, there's no field ID. After a little testing, I found out, that theres a This solves the problem for me:
I only checked this with ACF 5.5.3 and not with V4! BTW: I have noticed that if you use accordion fields within a repeater or flexible field, there's a behavior, that's illogical. This took me to another testing and I found out that a little adjustment solves this:
to
and it works as I want it. On my testing I'm wondering, why the This is tested with ACF 5.5.3 and not with V4, too! Hope, this helps to improve the plugin. Cheers
|
I don't know on which version of ACF the ID for the select fields are changed, but with actual ACF 5.5.3 the icon selection does not work as before.
This is because the select2 call
didn't work, because the element doesn't exist.
To make this work I changed this to
I do not make a pull request, because the version here on GitHub is not the actual version I get from the WP plugin repository.
Cheers
Thomas
The text was updated successfully, but these errors were encountered: