Closed mattcdavis1 closed 5 years ago
Hi @mattcdavis1, in the latest version I'm fix it.
Now you can use readonly
method or configuration(['disabled' => true])
like alias
Select2::make('Some ID', 'id')
->sortable()
->readonly()
or
Select2::make('Some ID', 'id')
->sortable()
->configuration([
'placeholder' => __('Choose an option'),
'allowClear' => true,
'minimumResultsForSearch' => 1,
'disabled' => true,
])
great - thanks!
Not sure if i'm doing something wrong but the below code does not render a readonly field.