<?php namespace GeneaLabs\LaravelCasts;

class SelectRange extends Dropdown
{
    public function __construct(
        string $name,
        $start,
        $end,
        $value = null,
        array $options = [],
        array $optionOptions = []
    ) {
        $list = range($start, $end);

        parent::__construct($name, $list, $value, $options, $optionOptions);
    }

    public function getTypeAttribute() : string
    {
        return 'select';
    }
}

<?php namespace GeneaLabs\LaravelCasts;

class SelectRange extends Dropdown
{
    public function __construct(
        string $name,
        $start,
        $end,
        $value = null,
        array $options = [],
        array $optionOptions = []
    ) {
        $list = range($start, $end);
        $list = array_combine($list, $list);

        parent::__construct($name, $list, $value, $options, $optionOptions);
    }

    public function getTypeAttribute() : string
    {
        return 'select';
    }
}

Fix rendering of options in selectRange
Fix rendering of options in selectRange