| @@ -40,15 +40,16 @@ | ||
| 40 | 40 | * @since 1.0.0 |
| 41 | 41 | * @access public |
| 42 | 42 | */ |
| 43 | 43 | public function content_template() { |
| 44 | + $control_uid = $this->get_control_uid(); | |
| 44 | 45 | ?> |
| 45 | 46 | <div class="elementor-control-field"> |
| 46 | 47 | <# if ( data.label ) {#> |
| 47 | - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 48 | + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label> | |
| 48 | 49 | <# } #> |
| 49 | 50 | <div class="elementor-control-input-wrapper elementor-control-unit-5 elementor-control-dynamic-switcher-wrapper"> |
| 50 | - <input id="<?php $this->print_control_uid(); ?>" type="{{ data.input_type }}" class="tooltip-target elementor-control-tag-area" data-tooltip="{{ data.title }}" data-setting="{{ data.name }}" placeholder="{{ view.getControlPlaceholder() }}" /> | |
| 51 | + <input id="<?php echo $control_uid; ?>" type="{{ data.input_type }}" class="tooltip-target elementor-control-tag-area" data-tooltip="{{ data.title }}" title="{{ data.title }}" data-setting="{{ data.name }}" placeholder="{{ data.placeholder }}" /> | |
| 51 | 52 | </div> |
| 52 | 53 | </div> |
| 53 | 54 | <# if ( data.description ) { #> |
| 54 | 55 | <div class="elementor-control-field-description">{{{ data.description }}}</div> |
| @@ -71,12 +72,8 @@ | ||
| 71 | 72 | return [ |
| 72 | 73 | 'input_type' => 'text', |
| 73 | 74 | 'placeholder' => '', |
| 74 | 75 | 'title' => '', |
| 75 | - 'ai' => [ | |
| 76 | - 'active' => true, | |
| 77 | - 'type' => 'text', | |
| 78 | - ], | |
| 79 | 76 | 'dynamic' => [ |
| 80 | 77 | 'categories' => [ |
| 81 | 78 | TagsModule::TEXT_CATEGORY, |
| 82 | 79 | ], |