An implementation of text input fields with datalist that matches the looks of the FilamentPHP ecosystem.
You can install the package via composer:
composer require balintcodes/filament-enhanced-datalistinclude Balintcodes\FilamentEnhancedDatalist;
FilamentEnhancedDatalist::make('enhanced_datalist')
->options(['One', 'Two', 'Three']) // Options that should appear in the datalist (array)
->filterDatalist() // Whether the datalist should be filtered during typing (bool)
->chevronVisible() // Whether the dropdown chevron should be visible (bool)
->infoLabel('Select a number') // Customize the information label on the top of the datalist (string)
->label('Enhanced datalist')
->minLength(2)
->maxLength(16)
->readOnly()
->prefix('Prefix')
->postfix('Postfix')
->placeholder('Choose a number');Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
