diff --git a/modules/Mailgateway/Components/Form.php b/modules/Mailgateway/Components/Form.php index 289d374d..0895c6be 100644 --- a/modules/Mailgateway/Components/Form.php +++ b/modules/Mailgateway/Components/Form.php @@ -36,7 +36,7 @@ class Form extends Component 'type' => 'Typ', 'name' => 'Beschreibung', 'domain' => 'Domain', - ...$this->type ? collect($this->type::fieldNames())->mapWithKeys(fn ($attribute, $key) => ["params.{$key}" => $attribute]) : [], + ...$this->type ? collect($this->type::fieldNames())->mapWithKeys(fn ($attribute, $key) => ["type.{$key}" => $attribute]) : [], ]; } @@ -104,11 +104,11 @@ class Form extends Component @foreach($this->fields() as $index => $field) @endforeach