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.
2 parents ea3c659 + b329564 commit 4772638Copy full SHA for 4772638
src/DataForm/Field/Tags.php
@@ -16,7 +16,7 @@ class Tags extends Field
16
public $remote;
17
public $separator = " ";
18
public $serialization_sep = ",";
19
- public $local_options;
+ public $local_options = [];
20
21
public $record_id;
22
public $record_label;
@@ -55,6 +55,13 @@ public function getValue()
55
}
56
parent::getValue();
57
58
+ if (is_array($this->value)) {
59
+ $this->values = $this->value;
60
+ }
61
+ else {
62
+ $this->values = explode($this->serialization_sep, $this->value);
63
64
+
65
if (count($this->local_options)) {
66
$description_arr = array();
67
$this->fill_tags = "";
0 commit comments