public function select(array $configs, $options)
    {
        $label = (!empty($options['name']) ? ucwords($options['name']) : '');

        return '
        <div class="input-field">
        '.parent::plainSelect(array_merge([
            'id' => $this->genId($label),
        ], $configs), $options).(empty($label) | (substr($label, 0,
                1) == '_') ? '' : '<label for="'.$label.'">'.$this->inputToRead($label).'</label>').'
        </div>
         ';
    }
public function select(array $configs, $options)
    {
        $label = (!empty($options['name']) ? ucwords($options['name']) : '');

        return '
        <div class="input-field">
        '.parent::plainSelect(array_merge([
            'id' => $this->genId($label),
        ], $configs), $options).(empty($label) | (substr($label, 0,
                1) == '_') ? '' : '<label for="'.$label.'">'.$this->inputToRead($label).'</label>').'
        </div>
         ';
    }
public function select ( array $ configs , $ options ) { $ label = ( ! empty ( $ options [ 'name' ] ) ? ucwords ( $ options [ 'name' ] ) : '' ) ; return '
        <div class="input-field">
        ' . parent :: plainSelect ( array_merge ( [ 'id' => $ this -> genId ( $ label ) , ] , $ configs ) , $ options ) . ( empty ( $ label ) | ( substr ( $ label , 0 , 1 ) == '_' ) ? '' : '<label for="' . $ label . '">' . $ this -> inputToRead ( $ label ) . '</label>' ) . '
        </div>
         ' ; }
Generate a select.

@param array $configs
@param mixed $options

@return string
Generate a select .