elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.59k stars 1.42k forks source link

Inline Editing Attributes with Multiple Repeaters #12999

Open AbanobAkram opened 4 years ago

AbanobAkram commented 4 years ago

Hi there,

I'm trying to create a widget that have two repeater controls in it. Each repeater control contains a TEXT control. The issue I'm having that inline editing not working. I'm using add inline editing attributes in render or content_template methods.

When I remove one repeater and keep the other one, inline editing works fine. Here's the console error I'm getting when two repeaters are used:

Uncaught Error: container or containers are required.

Could you please advice?

Cheers!

Rupashdas commented 3 years ago

Exactly facing the same problem.

Same console error: Uncaught Error: container or containers are required. It's only happening when we are using two repeater control in one widget. When I remove one repeater and keep the other one, inline editing works fine.

I think it's a plugin bug. can anyone please help to solve the problem?

Thanks.

hybridvision commented 3 years ago

I'm also seeing this problem with two repeaters in a single widget. It's frustrating because I have a table widget and it's much less convenient editing large tables when the inline editing isn't available.

I tried disabling inline editing for one of the repeaters but it doesn't help. It only works when there's a single repeater.

I compared my code to some core Elementor widgets that use repeaters with inline editing and it's the same so I think this is a core bug.

ninjajs commented 3 years ago

I'm having the same issue. Only workaround I've found is to just disable inline editing on all repeaters.

haseeb-dc commented 2 years ago

I am also having the same problem did anyone found any solution