- Corrected inputs handling from view to compiled states

- Added UiSelect widget
- Fixed UiForm widget
- Fixed UiInput widget
- Added mocks of UiMessage and UiPopup. Not even a WIP at this stage.
This commit is contained in:
mcndave committed 2019-11-01 14:47:54 -04:00
1 parent 4bf08def27
commit f28ace745d
7 files changed
+153 -27

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace Picea\Ui\Component;
use Picea\Ui\Common\UiElement;
use Picea\Extension\Extension;
use Picea\Extension\ExtensionTrait;
class UiPopup extends UiElement implements Extension {
use ExtensionTrait;
public string $token = "ui.popup";
public string $tag = "input";
public array $attributes = [
'class' => 'ui-popup',
];
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) : string
{
return "";
}
}