We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953000a commit a29c8ccCopy full SHA for a29c8cc
src/Application/UI/Form.php
@@ -124,7 +124,7 @@ protected function beforeRender()
124
{
125
parent::beforeRender();
126
$key = ($this->isMethod('post') ? '_' : '') . Presenter::SIGNAL_KEY;
127
- if (!isset($this[$key])) {
+ if (!isset($this[$key]) && $this->getAction() !== '') {
128
$do = $this->lookupPath(Presenter::class) . self::NAME_SEPARATOR . 'submit';
129
$this[$key] = (new Nette\Forms\Controls\HiddenField($do))->setOmitted();
130
}
0 commit comments