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