- Added a new UiImage element.
- Inputs can now have a class array OR a simple string as 'class' param.
This commit is contained in:
1 parent
34828f642c
commit
e75d997b02
4 files changed
+57
-1
No files matched your search
@@ -43,7 +43,7 @@ class UiInput extends UiElement implements Extension {
|
||||
}
|
||||
|
||||
if ($attributes['class'] ?? false) {
|
||||
$attributes['class'] .= " {$this->attributes['class']}";
|
||||
$attributes['class'] = implode(" ", array_merge((array) $attributes['class'], (array) $this->attributes['class']));
|
||||
unset($this->attributes['class']);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user