Quellcode durchsuchen

fix profile title textarea

Andrew vor 1 Monat
Ursprung
Commit
fea43b9f1e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      app/Filament/Resources/ProfilePartResource.php

+ 1
- 1
app/Filament/Resources/ProfilePartResource.php Datei anzeigen

@@ -46,7 +46,7 @@ class ProfilePartResource extends Resource
46 46
             ->schema([
47 47
                 Section::make('')->schema([
48 48
                     Translate::make()->schema(fn (string $locale) => [
49
-                        TextInput::make('title')->label('標題')->columnSpanFull(),
49
+                        Textarea::make('title')->label('標題')->columnSpanFull(),
50 50
                         Textarea::make('content')->label('內文')->columnSpanFull(),
51 51
                     ])
52 52
                         ->locales(['zh_TW', 'en'])