fixed contact and category set edit form model data..

This commit is contained in:
Cüneyt Şentürk
2022-07-26 17:43:17 +03:00
parent 60b4fcd212
commit 114af3d04d
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class Contact extends Form
$this->label = trans_choice('general.' . Str::plural($this->type), 1);
$this->contacts = Model::type($this->type)->enabled()->orderBy('name')->take(setting('default.select_limit'))->get();
$this->contacts = Model::type($this->type)->enabled()->orderBy('name')->take(setting('default.select_limit'))->pluck('name', 'id');
$model = $this->getParentData('model');