Subham
Subham
FFilament
Created by Subham on 4/25/2024 in #❓┊help
File type validation
can't we validate the file type like this when i upload the png i want validation error
FileUpload::make('slider_img1') ->label('Slider Image 1') ->acceptedFileTypes(['jpg', 'jpeg', 'png', 'gif']) ->required() ->disk('public') ->directory('slider_images') ->default(null),
3 replies
FFilament
Created by Subham on 4/15/2024 in #❓┊help
How do i Get the current record in Select i want values except the current record id
Select::make('parent_id') ->label('Header') ->relationship('parent', 'name') ->default(null)
6 replies