Compare commits
2 Commits
8842ae4eaa
...
512af58411
Author | SHA1 | Date | |
---|---|---|---|
|
512af58411 | ||
|
fd73d8e614 |
@ -57,6 +57,12 @@ 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" ) {
|
||||
|
@ -34,7 +34,7 @@ class FormHandler {
|
||||
$this->initialize();
|
||||
}
|
||||
|
||||
protected function formSent() : void
|
||||
public function formSent() : void
|
||||
{
|
||||
if ( false !== $this->context->formSent = $this->sent ) {
|
||||
if ( $this->context->formName ?? false ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user