Skip to content

Commit

Permalink
examples: custom-control.php calls setOption('rendered', TRUE) [Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 11, 2014
1 parent 190c113 commit a937353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/custom-control.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a937353

Please sign in to comment.