Skip to content

Commit

Permalink
FIX Prevent FormField::Type() from adding "tag" class to TagField
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Nov 15, 2018
1 parent 02c646a commit 3ce41f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/TagField.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,14 @@ public function performReadonlyTransformation()
$copy->setSourceList($this->getSourceList());
return $copy;
}

/**
* Prevent the default, which would return "tag"
*
* @return string
*/
public function Type()
{
return '';
}
}

0 comments on commit 3ce41f6

Please sign in to comment.