public function addOptions(array $options)
    {
        foreach ($options as $option) {
            $this->options[] = $option;
        }
        // this will auto select the options based on this fields value
        $this->selectOptionsFromValue();

        return $this;
    }
public function addOptions(array $options)
    {
        foreach ($options as $option) {
            $this->options[] = $option;
        }
        // this will auto select the options based on this fields value
        $this->selectOptionsFromValue();

        return $this;
    }
public function addOptions ( array $ options ) { foreach ( $ options as $ option ) { $ this -> options [ ] = $ option ; } // this will auto select the options based on this fields value $ this -> selectOptionsFromValue ( ) ; return $ this ; }
Add more options to this selectfield

@param array $options
@return SelectField
Add more options to this selectfield