diff --git a/src/Fields/Field.php b/src/Fields/Field.php index ceb4371..034e833 100644 --- a/src/Fields/Field.php +++ b/src/Fields/Field.php @@ -93,6 +93,11 @@ public function getJavascript() return null; } + public function vueEnabled() + { + return $this->enableVue; + } + public function render($errors) { if ($this->shouldHideField()) { diff --git a/src/Fields/SubField.php b/src/Fields/SubField.php index 3bd04f7..4e08f05 100644 --- a/src/Fields/SubField.php +++ b/src/Fields/SubField.php @@ -43,6 +43,11 @@ public function __construct($identifier, Field $field) $field->name = $this->getFieldNameInBracketSyntax(); } + public function vueEnabled() + { + return $this->decorate->vueEnabled(); + } + /** * Render the decorated field's input output *