From 7c8a97dd43f299f5d7f42e929a39272dd5605c1a Mon Sep 17 00:00:00 2001 From: Stijn Vanouplines Date: Sat, 11 May 2024 22:20:02 +0200 Subject: [PATCH] applied the "selectors_dictionary" property --- compatibility/elementor/widgets/form.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compatibility/elementor/widgets/form.php b/compatibility/elementor/widgets/form.php index 15aa8ce8c..e8473e03f 100644 --- a/compatibility/elementor/widgets/form.php +++ b/compatibility/elementor/widgets/form.php @@ -1420,15 +1420,19 @@ protected function register_controls() { 'type' => Controls_Manager::CHOOSE, 'label_block' => false, 'options' => array( - 'row' => array( + 'inline-block' => array( 'title' => __( 'Horizontal', 'jet-form-builder' ), 'icon' => 'eicon-ellipsis-h', ), - 'column' => array( + 'block' => array( 'title' => __( 'Vertical', 'jet-form-builder' ), 'icon' => 'eicon-editor-list-ul', ), ), + 'selectors_dictionary' => array( + 'inline-block' => 'row', + 'block' => 'column', + ), 'selectors' => array( $this->selector( '__fields-group' ) => 'flex-direction: {{VALUE}};', ),