Skip to content

Commit

Permalink
fix-custom-fields: correct custom fields handling to prevent decoding…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
mkeremcansev committed Nov 2, 2024
1 parent 7e334fb commit 28f785e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/CustomFieldsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function mount(): void

$this->customFields = config('filament-edit-profile.custom_fields');

$this->form->fill(json_decode($data['custom_fields'], true) ?? []);
$this->form->fill($data['custom_fields'] ?? []);
}

public function form(Form $form): Form
Expand Down

0 comments on commit 28f785e

Please sign in to comment.