Selaa lähdekoodia

fix profile title textarea

Andrew 7 kuukautta sitten
vanhempi
commit
fea43b9f1e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      app/Filament/Resources/ProfilePartResource.php

+ 1
- 1
app/Filament/Resources/ProfilePartResource.php Näytä tiedosto

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