@pouyadaraee I had the exact same problem and ended up comparing the code in elementor-pro/modules/slides/widgets/slides.php to my own slider element. I saw that in their code the repeater fields were called like this
'fields' => $repeater->get_controls(),
and in mine like this
'fields' => array_values( $repeater->get_controls() ),
removing array_values()
made everything work as expected again.
(no way I invented this use of array_values
, I copied it from Elementor’s own code at some point and they must have changed it).
-
This reply was modified 3 years, 9 months ago by talyatarget.