diff --git a/examples/custom-control.php b/examples/custom-control.php index 982a991d6..5ca96ffc2 100644 --- a/examples/custom-control.php +++ b/examples/custom-control.php @@ -62,6 +62,7 @@ public function loadHttpData() */ public function getControl() { + $this->setOption('rendered', TRUE); $name = $this->getHtmlName(); return Html::el() ->add(Html::el('input')->name($name . '[day]')->id($this->getHtmlId())->value($this->day))