- WIP on forms and UI widgets
This commit is contained in:
1 parent
657ceb2863
commit
b1129def47
7 files changed
+31
-18
No files matched your search
@@ -16,6 +16,10 @@ class UiInput extends UiElement implements Extension {
|
||||
public array $attributes = [
|
||||
'class' => 'ui-input',
|
||||
];
|
||||
|
||||
public array $options = [
|
||||
'tag-type' => "single",
|
||||
];
|
||||
|
||||
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) : string
|
||||
{
|
||||
@@ -26,7 +30,6 @@ class UiInput extends UiElement implements Extension {
|
||||
{
|
||||
$this->setValue($value);
|
||||
$this->attributes([ 'name' => $name ] + $attributes + $this->attributes);
|
||||
|
||||
return $this->render();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user