Skip to content

Commit 4079e3e

Browse files
committed
1.6.10 - add getPublicValue for AjaxSelectType
1 parent 4d50092 commit 4079e3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Types/AjaxSelectType.php

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public function getAdminFullJson()
3535
return $this->getValue();
3636
}
3737

38+
public function getPublicValue()
39+
{
40+
return $this->value && is_array($this->value) ? $this->value : null;
41+
}
42+
3843
public function loadValueFromDatabase($value)
3944
{
4045
if(StringHelper::isJson($value)) {

0 commit comments

Comments
 (0)