Skip to content

Commit 5a4c3cc

Browse files
authored
fix: typo
1 parent ba313db commit 5a4c3cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Filament/Resources/DocumentTypeResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ protected static function getTitleFormComponent()
290290
{
291291
return Forms\Components\TextInput::make('title')
292292
->label(__('inspirecms::resources/document-type.title.label'))
293-
->validationAttribute(__('inspirecms::resources/document-type.title.category'))
293+
->validationAttribute(__('inspirecms::resources/document-type.title.validation_attribute'))
294294
->required()
295295
->live(true, 5000)
296296
->afterStateUpdated(function ($component, $state, Forms\Get $get, Forms\Set $set, $operation) {
@@ -308,7 +308,7 @@ protected static function getSlugFormComponent()
308308
{
309309
return Forms\Components\TextInput::make('slug')
310310
->label(__('inspirecms::resources/document-type.slug.label'))
311-
->validationAttribute(__('inspirecms::resources/document-type.slug.category'))
311+
->validationAttribute(__('inspirecms::resources/document-type.slug.validation_attribute'))
312312
->unique(table: static::getModel(), column: 'slug', ignoreRecord: true)
313313
->autofocus()
314314
->required()

0 commit comments

Comments
 (0)