From 0d62bc0d75bea48615e8f376f37b843b1e0163be Mon Sep 17 00:00:00 2001 From: zhaiyuxin103 Date: Sat, 11 Jan 2025 16:35:44 +0800 Subject: [PATCH] =?UTF-8?q?style(admin):=20=E8=B0=83=E6=95=B4=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Filament/Pages/EditProfile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Filament/Pages/EditProfile.php b/app/Filament/Pages/EditProfile.php index 505fc24..8692eef 100644 --- a/app/Filament/Pages/EditProfile.php +++ b/app/Filament/Pages/EditProfile.php @@ -41,8 +41,6 @@ public function form(Form $form): Form Forms\Components\TextInput::make('phone') ->maxLength(255) ->label(trans('fields.phone')), - $this->getPasswordFormComponent(), - $this->getPasswordConfirmationFormComponent(), Forms\Components\FileUpload::make('avatar') ->image() ->imageEditor() @@ -64,6 +62,8 @@ public function form(Form $form): Form Forms\Components\RichEditor::make('introduction') ->columnSpanFull() ->label(trans('fields.introduction')), - ]); + ]) + ->columns() + ->inlineLabel(false); } }