'Listen for changes in a repeater to auto fill data

I'm trying to make some data handling easier for my customer in my Custom Elementor Widget. I have several repeater controls with several text controls inside them.

What I want to achieve is, when the user enters some text into the first text control, I want to split that text at every ',' character and set the Text controls' value with these strings.

I'm trying to listen for changes in JavaScript, but I didn't get any event when one of the repeaters got changed. The onElementChange is only called if some more "primitive" control is changed. For example, I have a slider control, when I change that the onElementChange method is called.

Is there a way to subscribe for the change event of a repeater?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source