Skip to content

Commit 9ef2e84

Browse files
committed
Remove file field.
1 parent 12ccb87 commit 9ef2e84

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"doctrine/dbal": "^2.10",
2525
"driesvints/blade-icons": "^2.2",
2626
"graham-campbell/markdown": "^12.0",
27-
"filament/field-file": "dev-master",
2827
"plank/laravel-metable": "^2.1",
2928
"laravel/ui": "^2.0",
3029
"league/glide-laravel": "^1.0",

src/Http/Fieldsets/UserEditFieldset.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Filament\Http\Fieldsets;
44

55
use Filament\Http\Fields\Input;
6-
use Filament\Fields\File\File;
76
use Filament\Http\Fields\Checkbox;
87
use Filament\Http\Fields\Checkboxes;
98
use Illuminate\Validation\Rule;
@@ -36,14 +35,6 @@ public static function fields($model)
3635
])
3736
->class('md:col-span-2')
3837
->group('account'),
39-
File::make('avatar')
40-
->rules('array')
41-
->fileRules('image')
42-
->fileValidationMessages([
43-
'image' => __('The Avatar must be a valid image.'),
44-
])
45-
->mediaIds($model->avatar)
46-
->group('account'),
4738
Input::make('password')
4839
->type('password')
4940
->label('New password')

0 commit comments

Comments
 (0)