ofthewildfire/filament-inline-edit-column
最新稳定版本:v1.1.20
Composer 安装命令:
composer require ofthewildfire/filament-inline-edit-column
包简介
Click-to-edit columns for Filament with automatic custom fields integration
README 文档
README
Quick Start
Replace any TextColumn with InlineEditColumn for instant click-to-edit functionality.
use OfTheWildfire\FilamentInlineEditColumn\Filament\Table\Columns\InlineEditColumn; // Before TextColumn::make('name'), // After InlineEditColumn::make('name'),
How it works
- Click any cell to start editing
- Enter to save your changes
- Escape or ✖ to cancel
Examples
public static function table(Table $table): Table { return $table->columns([ // Basic text editing InlineEditColumn::make('name'), // Email field InlineEditColumn::make('email')->type('email'), // Numbers InlineEditColumn::make('price')->type('number'), // With all the usual Filament options InlineEditColumn::make('title') ->searchable() ->sortable() ->toggleable(), ]); }
Input Types
Set the input type with ->type():
text(default)emailnumberurltelpassword
That's it!
Works with all standard Filament column features like sorting, searching, and toggling. The data saves automatically to your database when you press Enter.
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-04