@props([ // name to uniquely identity a select 'name' => 'bw-select-'.uniqid(), // the default text to display when the select shows 'placeholder' => config('bladewind.select.placeholder', 'Select One'), 'search_placeholder' => config('bladewind.select.search_placeholder', 'Type here...'), 'empty_placeholder' => config('bladewind.select.empty_placeholder', 'No options available'), 'label' => config('bladewind.select.label', null), /** * Optional function to execute when a select item is selected. * By default, the value of a select item is written to an input field with the name dd_name. * Where name is the name you provided for the select. If you named your select for example, * whatever country is selected can be found in the */ 'onselect' => '', /** * Data to pass to the select. * Your data must be a json string (not object) with the keys and