Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Filament/Resources/TagResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function form(Form $form): Form
Forms\Components\TextInput::make('name')
->live(onBlur: true)
->required()
->unique()
->unique(ignoreRecord: true)
->afterStateUpdated(fn ($state, Forms\Set $set) => $set('slug', Str::slug($state)))
->columnSpanFull(),
Forms\Components\TextInput::make('slug')
Expand Down
116 changes: 58 additions & 58 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/filament/filament/app.css

Large diffs are not rendered by default.

Loading