<?php
/**
 * Field advanced tab controls
 * @var string $prefix
 * @var string $widget_id
 * @var Repeater $field
 */

use Elementor\Controls_Manager;
use Elementor\Repeater;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$field->add_control(
	$prefix . 'default_value',
	[
		'label'       => esc_html__( 'Default Value', 'advanced-fields-for-elementor-forms' ),
		'type'        => Controls_Manager::TEXT,
		'control_tab' => Controls_Manager::TAB_ADVANCED,
		'dynamic'     => [
			'active' => true,
		],
		'ai'          => [
			'active' => false,
		],
	]
);
