From 3ce41f60ec20ed6ba16e0bc519163eccbf4f6c0e Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Thu, 15 Nov 2018 21:23:22 +0200 Subject: [PATCH] FIX Prevent FormField::Type() from adding "tag" class to TagField --- src/TagField.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/TagField.php b/src/TagField.php index 98d661f..ecb3a11 100644 --- a/src/TagField.php +++ b/src/TagField.php @@ -450,4 +450,14 @@ class TagField extends DropdownField $copy->setSourceList($this->getSourceList()); return $copy; } + + /** + * Prevent the default, which would return "tag" + * + * @return string + */ + public function Type() + { + return ''; + } }