Icon Data Control Issue with Repeater Control
-
Hi,
I am using the Elementor plugin for a WordPress website and have found an issue in the recent update which is if an Icon control is used inside the Repeater control it shows an JavaScript error and nothing gets loaded in the Editor mode. Here is the sample code.
$this->add_control( 'pc_contact_data', [ 'label' => esc_html__( 'Add Contact Info', 'test' ), 'label_block' => true, 'type' => \Elementor\Controls_Manager::REPEATER, 'fields' => [ [ 'name' => 'pc_contact_icon', 'label' => esc_html__( 'Choose Icon', 'test' ), 'label_block' => true, 'skin' => 'inline', 'exclude_inline_options' => ['svg'], type' => \Elementor\Controls_Manager::ICONS, ], [ 'name' => 'pc_contact_info', 'label' => esc_html__( 'Add Info', 'test' ), 'label_block' => true, 'type' => \Elementor\Controls_Manager::TEXT, 'placeholder' => esc_html__( 'Add Contact Info. HTML tag line break <br> is supported.', 'test' ), ], ], ], );
The errors which are coming are as follows.
Uncaught TypeError: r[a] is undefined
TypeError: C is undefinedIf you remove the Elementor Icons control it works fine so there is a conflict which needs to be resolved of Icons control with the Repeater control. Can you tell how this issue can be resolved. Looking forward to your response.
Kind Regards,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Icon Data Control Issue with Repeater Control’ is closed to new replies.