mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
FIX Prevent FormField::Type() from adding "tag" class to TagField
This commit is contained in:
parent
02c646a0ee
commit
3ce41f60ec
@ -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 '';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user