<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\SearchSidebar;

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

class SearchSidebarFilterTypeFieldEntity extends SelectFieldEntity
{
  public static string $name = 'aux_search_sidebar_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::On;
  protected mixed $choices = [
    'select' => 'Select Field',
    'radio' => 'Radio Field',
    'checkbox' => 'Checkbox (allows multiple selections)',
  ];
}
