We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f2559 commit 15ef159Copy full SHA for 15ef159
src/Forms/Controls/BaseControl.php
@@ -83,7 +83,6 @@ abstract class BaseControl extends Nette\ComponentModel\Component implements ICo
83
*/
84
public function __construct($caption = null)
85
{
86
- parent::__construct();
87
$this->control = Html::el('input', ['type' => null, 'name' => null]);
88
$this->label = Html::el('label');
89
$this->caption = $caption;
src/Forms/Form.php
@@ -125,7 +125,6 @@ class Form extends Container implements Nette\Utils\IHtmlString
125
126
public function __construct(string $name = null)
127
128
129
if ($name !== null) {
130
$this->getElementPrototype()->id = 'frm-' . $name;
131
$tracker = new Controls\HiddenField($name);
0 commit comments