Skip to content

Commit

Permalink
Merge pull request #12 from IBEC-BOX/fix/subitle-length-1000
Browse files Browse the repository at this point in the history
fix: subtitle length is 1000 symbols
  • Loading branch information
ast21 authored Dec 9, 2024
2 parents 18e8422 + 5ae4deb commit 04cba67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/FilamentPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ public function register(Panel $panel): void
]);
}

public function boot(Panel $panel): void
{
}
public function boot(Panel $panel): void {}

public static function make(): static
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/SocialProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ class SocialProject extends AbstractModel implements HasMedia

protected static function newFactory(): SocialProjectFactory
{
return new SocialProjectFactory();
return new SocialProjectFactory;
}
}
4 changes: 1 addition & 3 deletions src/SocialProjects.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace AdminKit\SocialProjects;

class SocialProjects
{
}
class SocialProjects {}
2 changes: 1 addition & 1 deletion src/UI/Filament/Resources/SocialProjectResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function form(Forms\Form $form): Forms\Form
Forms\Components\Textarea::make('subtitle.'.$locale)
->label(__('admin-kit-social-projects::social-projects.resource.subtitle'))
->rows(5)
->maxLength(254),
->maxLength(1000),
])),
])
->columns(1);
Expand Down

0 comments on commit 04cba67

Please sign in to comment.