File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 33namespace Filament \Http \Fieldsets ;
44
55use Filament \Http \Fields \Input ;
6- use Filament \Fields \File \File ;
76use Filament \Http \Fields \Checkbox ;
87use Filament \Http \Fields \Checkboxes ;
98use 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 ' )
You can’t perform that action at this time.
0 commit comments