protected function addPlaceHolder()
    {
        if (empty($this->field->placeHolder) && $this->field->hasForeignRelation()) {
            $this->field->placeHolder = 'Please select a ' . $this->field->getForeignRelation()->name;
        }

        return $this;
    }
protected function addPlaceHolder()
    {
        if (empty($this->field->placeHolder) && $this->field->hasForeignRelation()) {
            $this->field->placeHolder = 'Please select a ' . $this->field->getForeignRelation()->name;
        }

        return $this;
    }
protected function addPlaceHolder ( ) { if ( empty ( $ this -> field -> placeHolder ) && $ this -> field -> hasForeignRelation ( ) ) { $ this -> field -> placeHolder = 'Please select a ' . $ this -> field -> getForeignRelation ( ) -> name ; } return $ this ; }
If the field has a relation and the placeholder is missing, add generic one.

@return $this
If the field has a relation and the placeholder is missing add generic one .