marvinosswald/filament-input-select-affix
最新稳定版本:0.3.0
Composer 安装命令:
composer require marvinosswald/filament-input-select-affix
包简介
this input enables you to render a select next to an input in a seamless fashion
README 文档
README
this input enables you to render a select next to an input in a seamless fashion.
Installation
You can install the package via composer:
composer require marvinosswald/filament-input-select-affix
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-input-select-affix-views"
Usage
TextInputSelectAffix::make('weight_value') ->numeric() ->select(fn() => Forms\Components\Select::make('weight_unit') ->extraAttributes([ 'class' => 'w-[72px]' // if you want to constrain the selects size, depending on your usecase ]) ->options([ 'mm' => 'mm', 'm' => 'm' ]) ),
Testing
composer test
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.
统计信息
- 总下载量: 116.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-21

