From a937353ac1a60bca2555a1db65c8673dfeb591c0 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 11 May 2014 22:12:05 +0200 Subject: [PATCH] examples: custom-control.php calls setOption('rendered', TRUE) [Closes #10] --- examples/custom-control.php | 1 + 1 file changed, 1 insertion(+) 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))