protonemedia / laravel-form-components

A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4/5. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
https://protone.media/blog/laravel-form-components-to-rapidly-build-forms-with-tailwind-css-and-bootstrap-4
MIT License
815 stars 103 forks source link

Select input cant revert acction of select to none #103

Open long-blade opened 1 year ago

long-blade commented 1 year ago

When we have a select element and add a placeholder placeholder="-- None --"., the <option> element has the disabled attribute by default. This disables the ability to revert selection by clicking on the none with a null value.

First Action: image

The user changes his mind and now wants to revert to selecting this option which is not possible: image