src/Fields/Bootstrap/HasMany.php
<?php
namespace Grafite\Forms\Fields\Bootstrap;
use Grafite\Forms\Fields\Bootstrap\TomSelect;
class HasMany extends TomSelect
{
protected static function getType()
{
return 'relationship';
}
protected static function getAttributes()
{
return [
'multiple' => true,
];
}
}