mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-06-29 07:59:26 +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());
|
$copy->setSourceList($this->getSourceList());
|
||||||
return $copy;
|
return $copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent the default, which would return "tag"
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function Type()
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user