public function __construct(array $options = NULL) { // Set the choices for this field $this->choices = Sprig::factory($options['model'])->select_list(); parent::__construct($options); }