kalle
11/23/2022, 8:12 PMphp
private function getRelatedElementsAsCollection($object, $relation)
{
return collect(
$object->$relation instanceof EloquentModel ? [$object->$relation] : $object->loadRelated($relation)
);
}
L9 / Twill latest
Someone aware of this?ifox
11/23/2022, 8:41 PMkalle
11/23/2022, 8:42 PMifox
11/23/2022, 9:09 PMkalle
11/23/2022, 9:13 PMifox
11/23/2022, 9:17 PMkalle
11/23/2022, 9:23 PMHasRelated
model trait and used same logic on that to get specific name browser from relation.
A lot of fixes (module repo) to achive browser show in forms.kalle
11/23/2022, 9:25 PMHip-Hop
11/24/2022, 7:28 AMHarings Rob
11/24/2022, 7:33 AMTobi Wan
11/24/2022, 7:34 AMtitleColumnKey
in controller for that little create new item modal from title
to something custom:
class TestemonialController extends BaseModuleController
{
protected $moduleName = 'testemonials';
protected $titleColumnKey = 'user_fullname';
....
}
How do I change the Label in the modal and in the list too?kalle
11/24/2022, 8:27 AMHarings Rob
11/24/2022, 8:34 AMkalle
11/24/2022, 8:36 AMHarings Rob
11/24/2022, 8:37 AMHarings Rob
11/24/2022, 8:37 AMkalle
11/24/2022, 8:38 AMHarings Rob
11/24/2022, 8:39 AMkalle
11/24/2022, 8:39 AMBA7YA
11/24/2022, 9:53 AMifox
11/24/2022, 9:54 AMadditionalFieldsets
ifox
11/24/2022, 9:55 AMifox
11/24/2022, 9:56 AMBA7YA
11/24/2022, 9:56 AMifox
11/24/2022, 9:57 AMifox
11/24/2022, 9:58 AMBA7YA
11/24/2022, 9:58 AMifox
11/24/2022, 10:00 AMBA7YA
11/24/2022, 10:03 AMkalle
11/24/2022, 10:08 AM