diff --git a/src/Option/Parser/Text.php b/src/Option/Parser/Text.php index 0b114aa..9f89777 100644 --- a/src/Option/Parser/Text.php +++ b/src/Option/Parser/Text.php @@ -19,7 +19,7 @@ class Text extends Base parent::parseJson(); if ($this->json['default']) { - $this->element->setValue((string) $this->json['default']); + $this->element->setDefault((string) $this->json['default']); } if (isset($this->json['dependencys']) && count($this->json['dependencys']) > 0) {