public function getSelectRangeHtmlField(Field $field)
    {
        $stub = $this->getStubContent('form-selectrange-field.blade', $this->template);

        $this->replaceFieldName($stub, $field->name)
            ->replaceCssClass($stub, $field->cssClass)
            ->replaceFieldMinValue($stub, isset($field->range[0]) ? $field->range[0] : 1)
            ->replaceFieldMaxValue($stub, isset($field->range[1]) ? $field->range[1] : 10)
            ->replaceSelectedValue($stub, $this->getSelectedValueForMenu($field))
            ->replaceFieldPlaceHolder($stub, $this->getFieldPlaceHolderForMenu($field->getPlaceholder(), $field->name))
            ->wrapField($stub, $field);

        return $stub;
    }
public function getSelectRangeHtmlField(Field $field)
    {
        $stub = $this->getStubContent('form-selectrange-field.blade', $this->template);

        $this->replaceFieldName($stub, $field->name)
            ->replaceCssClass($stub, $field->cssClass)
            ->replaceFieldMinValue($stub, isset($field->range[0]) ? $field->range[0] : 1)
            ->replaceFieldMaxValue($stub, isset($field->range[1]) ? $field->range[1] : 10)
            ->replaceSelectedValue($stub, $this->getSelectedValueForMenu($field))
            ->replaceFieldPlaceHolder($stub, $this->getFieldPlaceHolderForMenu($field->getPlaceholder(), $field->name))
            ->wrapField($stub, $field);

        return $stub;
    }
public function getSelectRangeHtmlField ( Field $ field ) { $ stub = $ this -> getStubContent ( 'form-selectrange-field.blade' , $ this -> template ) ; $ this -> replaceFieldName ( $ stub , $ field -> name ) -> replaceCssClass ( $ stub , $ field -> cssClass ) -> replaceFieldMinValue ( $ stub , isset ( $ field -> range [ 0 ] ) ? $ field -> range [ 0 ] : 1 ) -> replaceFieldMaxValue ( $ stub , isset ( $ field -> range [ 1 ] ) ? $ field -> range [ 1 ] : 10 ) -> replaceSelectedValue ( $ stub , $ this -> getSelectedValueForMenu ( $ field ) ) -> replaceFieldPlaceHolder ( $ stub , $ this -> getFieldPlaceHolderForMenu ( $ field -> getPlaceholder ( ) , $ field -> name ) ) -> wrapField ( $ stub , $ field ) ; return $ stub ; }
Gets a rangeselector element for a given field.

@param CrestApps\CodeGeneraotor\Support\Field $field

@return string
Gets a rangeselector element for a given field .