mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-25 10:04:54 +08:00
Remove file field.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
@@ -36,14 +35,6 @@ class UserEditFieldset
|
||||
])
|
||||
->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')
|
||||
|
||||
Reference in New Issue
Block a user