-
Notifications
You must be signed in to change notification settings - Fork 51
Icon picker fields break on ACF 6+ with the latest acf-icon-picker installed (1.9.1) #39
Comments
Same here, now Im in dilema to stick with the new solution and rewrite my code or to downgrade ACF :( |
When I remove '!' from this line the custom field shows up like expected:
But: when I try to remove a layout from a flexible field that has the custom icon picker in it, I get a JS error:
|
@Dennisscholten , there is quite a lot of interference from the newly introduced icon picker field by ACF. The reason why editing
Depending on whether @houke is going to respond, it could be an idea to move to that fork instead. Be aware, in the current version of that fork the field name has changed, so you will have to change that as well in your field config. I already made a ticket about that at smithfield-studio#1 which I am going to make a PR for as well. |
There is now a fork available that fixes this issue and more: https://github.com/smithfield-studio/acf-svg-icon-picker We plan on actively developing this in the future. |
Thanks for the efforts all, and the fork @Levdbas - that is great news. Will try that out and report back!!! |
I updated to ACF 6.0.1 and noticed some fatal JS errors in the editor when trying to remove flexible fields that have your icon picker fields in it. I updated your plugin to the latest version, but the issue persists. On the ACF admin screen, the old icon picker fields are now named as unknown, while the new ACF native icon picker field is a new option. It looks like a clash between classnames.
The text was updated successfully, but these errors were encountered: