NO BUG: No Results for Dynamic Data in Icon-Control / SVG-Subcontrol

Not sure if this is a bug, but it seems like it to me.

The SVG-Subcontrol of the Icon-Control never shows any Dynamic Data Tags.

I would guess/hope that it should work the same as the Dynamic Data Tag for the SVG-Element.

Best Regards
Suat

Hey @UserfreundSuat,

the dynamic data shows for me. It should show only supported custom fields (icon fields from Metabox and ACF)

Do you have any? If not, can you try to add one and see if it’s working.

Let me know,
Matej

Ah I didn’t know that it was a special type. That explains it.

i tried registering my own dynamic data field that matches the pattern i read from the provider class of metabox and acf (where I set the tag has a type “icon_field” that gets converted to "fieldType" => "icon_field"), but couldn’t get it to work sadly.

It would be awesome if we got some way of writing our own dynamic data that is compatible with the dynamic-data option for Icons but I guess that’s more of a feature request.

You can close this thread.

Thanks
Suat

Yes, this one is a bit different. Mostly because we wanted to filter out unsupported dynamic tags, so it’s easier for users to pick them, and as far as I know, you are the first one to ask for changes here.
I believe if you use an SVG element instead of an icon, you could pick your dynamic tag.

I’ll mark the topic as no-bug, as it’s working as intended.

Best regards,
Matej

1 Like