Open Berdych opened 8 years ago
I will fix and update it at weekend. Thanks for letting me know about the issue.
Hey @theKhorshed. Great work with the icon picker CMB2 custom field! Could you please confirm if the repeatable group issue has been solved? Thanks in advance.
Here is a quick fix add this code in
assets/js/fontawesome-picker-init.js
/**
* Group fix, by Mordi Sacks
*/
jQuery(document).bind('DOMNodeInserted', function (event) {
if (jQuery(event.target).find('div.cmb-type-fontawesome-icon').length > 0) {
jQuery(event.target).find('.fontawesome-icon-select').iconpicker({
hideOnSelect: true
});
}
});
Thank you very much MordiSacks. Everything works well!
Hi. Tnk you for your wonderful extension. But I would like to use it in group fields like here:
Could you fix this?..