public function bind(Component &$component) { if (!$component instanceof FormComponent) { throw new \InvalidArgumentException('AjaxFormComponentUpdateBehavior can only be added to a form component'); } parent::bind($component); }
public function bind(Component &$component) { parent::bind($component); $this->getForm()->setOutputMarkupId(true); }