@props([ // name to uniquely identity a select 'name' => 'bw-select', // the default text to display when the select shows 'placeholder' => config('bladewind.select.placeholder', 'Select One'), '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