Skip to content

Commit

Permalink
Remove file field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanscherler committed Oct 10, 2020
1 parent 12ccb87 commit 9ef2e84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"doctrine/dbal": "^2.10",
"driesvints/blade-icons": "^2.2",
"graham-campbell/markdown": "^12.0",
"filament/field-file": "dev-master",
"plank/laravel-metable": "^2.1",
"laravel/ui": "^2.0",
"league/glide-laravel": "^1.0",
Expand Down
9 changes: 0 additions & 9 deletions src/Http/Fieldsets/UserEditFieldset.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Filament\Http\Fieldsets;

use Filament\Http\Fields\Input;
use Filament\Fields\File\File;
use Filament\Http\Fields\Checkbox;
use Filament\Http\Fields\Checkboxes;
use Illuminate\Validation\Rule;
Expand Down Expand Up @@ -36,14 +35,6 @@ public static function fields($model)
])
->class('md:col-span-2')
->group('account'),
File::make('avatar')
->rules('array')
->fileRules('image')
->fileValidationMessages([
'image' => __('The Avatar must be a valid image.'),
])
->mediaIds($model->avatar)
->group('account'),
Input::make('password')
->type('password')
->label('New password')
Expand Down

0 comments on commit 9ef2e84

Please sign in to comment.