Skip to content

Commit

Permalink
Limit for short description (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexPopaCode4 authored Sep 9, 2024
1 parent 4b9c48b commit eda24c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/Filament/Resources/OrganisationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
use Filament\Resources\Resource;
use Filament\Resources\Table;
use Filament\Tables;
use Filament\Tables\Columns\IconColumn;
use Filament\Tables\Columns\SpatieMediaLibraryImageColumn;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Filters\Layout;
Expand Down Expand Up @@ -124,7 +123,7 @@ public static function form(Form $form): Form

Textarea::make('description')
->label(__('organisation.field.short_description'))
->maxLength(1000)
->maxLength(1500)
->rows(2)
->helperText(__('organisation.help.description'))
->required()
Expand Down
2 changes: 1 addition & 1 deletion lang/ro/organisation.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

'help' => [
'short_description' => 'Descrie organizația ta în 200 - 250 caractere. Descrierea va fi vizibilă în alte aplicații, după caz.',
'description' => 'Adaugă o descriere a organizației tale (maximum 1000 caractere).',
'description' => 'Adaugă o descriere a organizației tale (maximum 1500 caractere).',
'logo' => 'Încarcă logo-ul organizației tale, la o calitate cât mai bună.',
],

Expand Down

0 comments on commit eda24c4

Please sign in to comment.