balintcodes / filament-enhanced-datalist
An enhanced version of text input with datalist for FilamentPHP
Fund package maintenance!
balintcodes
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- filament/forms: ^3.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
README
An implementation of text input fields with datalist that matches the looks of the FilamentPHP ecosystem.
Installation
You can install the package via composer:
composer require balintcodes/filament-enhanced-datalist
Usage
include 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');
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.