We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f1cd9 commit 6cefa49Copy full SHA for 6cefa49
1 file changed
Component/ComponentViewModel.php
@@ -3,8 +3,8 @@
3
4
namespace Loki\Components\Component;
5
6
+use Loki\Components\Attribute\JsProperty;
7
use Loki\Components\Util\Block\GetElementId;
-use Loki\Components\Util\JsPropertyResolver;
8
use Magento\Framework\App\ObjectManager;
9
use Magento\Framework\View\Element\AbstractBlock;
10
use Loki\Components\Filter\Filter;
@@ -55,6 +55,7 @@ public function getElementId(): string
55
return ObjectManager::getInstance()->get(GetElementId::class)->execute($this->block);
56
}
57
58
+ #[JsProperty(name: 'value')]
59
public function getValue(): mixed
60
{
61
if (false === $this->getComponent()->hasRepository()) {
0 commit comments