<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\PostType;

use AuxCF\Entities\Field\SelectFieldEntity;
use AuxCF\Entities\Settings\Enum\IntSwitchEnum;

class PostTypeSearchFilterTypeFieldEntity extends SelectFieldEntity
{
  public static string $namePattern = 'aux_search_%s_section_filter_type';

  protected string $label = 'Input Type';
  protected string $instructions = 'User interface selector type for the filter. Note: Radio and Checkbox input types will only display one field per section.';
  protected IntSwitchEnum $allowNull = IntSwitchEnum::Off;
  protected mixed $choices = [
    'radio' => 'Radio Field',
    'checkbox' => 'Checkbox (allows multiple selections)',
    'select' => 'Select Field',
  ];
}
