diff --git a/src/FormWidgets/TRLBase.php b/src/FormWidgets/TRLBase.php index f38a5a2..8ea884c 100644 --- a/src/FormWidgets/TRLBase.php +++ b/src/FormWidgets/TRLBase.php @@ -48,7 +48,7 @@ public function renderFallbackField() public function makeTRLPartial($partial, $params = []) { $oldViewPath = $this->viewPath; - $this->viewPath = strtolower(str_replace('\\', '/', __TRAIT__)); + $this->viewPath[] = strtolower(str_replace('\\', '/', __TRAIT__)); $result = $this->makePartial($partial, $params); $this->viewPath = $oldViewPath;