|
@@ -3,15 +3,17 @@
|
|
|
namespace Dcat\Admin\Show;
|
|
|
|
|
|
use Dcat\Admin\Support\Helper;
|
|
|
+use Dcat\Admin\Show;
|
|
|
|
|
|
class Html extends Field
|
|
|
{
|
|
|
public $html;
|
|
|
|
|
|
- public function __construct($html, string $name = '', string $label = '')
|
|
|
+ public function __construct($html, Show $show, string $name = '', string $label = '')
|
|
|
{
|
|
|
- $this->html = $html;
|
|
|
parent::__construct($name, $label);
|
|
|
+ $this->html = $html;
|
|
|
+ $this->setParent($show);
|
|
|
}
|
|
|
|
|
|
public function render()
|