<?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' ),
		'description' => esc_html__( 'Note: The default value is #000000 (black) and is never empty.', 'advanced-fields-for-elementor-forms' ) . ' <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color#value" target="_blank">' . esc_attr__( 'Learn More', 'advanced-fields-for-elementor-forms' ) . '</a>',
		'type'        => Controls_Manager::COLOR,
		'control_tab' => Controls_Manager::TAB_ADVANCED,
		'default'     => '#000000',
		'alpha'       => false,
	]
);
