Compare commits

..

No commits in common. "512af584119227da5f97c3185831af62ccf09090" and "8842ae4eaa94a1232560b6498c630037cc38ff54" have entirely different histories.

2 changed files with 1 additions and 7 deletions

View File

@ -57,12 +57,6 @@ class UiForm extends UiElement implements Extension {
$this->option('tag-type', 'single');
if ($attributes['class'] ?? false) {
$attributes['class'] .= " {$this->attributes['class']}";
unset($this->attributes['class']);
}
$this->attributes([ 'method' => $method, 'action' => $action ] + $attributes);
if ( $method !== "get" ) {

View File

@ -34,7 +34,7 @@ class FormHandler {
$this->initialize();
}
public function formSent() : void
protected function formSent() : void
{
if ( false !== $this->context->formSent = $this->sent ) {
if ( $this->context->formName ?? false ) {