Thanks again for the replies. This is very odd.
Here is what I have in the controller;
public function gamesEdit($id){
$game = Schedule::where('id', $id)->first();
$teams = Team::lists('name', 'id');
$officials = Official::lists('firstName', 'id');
return view ('admin/gamesEdit', compact('game', 'teams', 'officials'));
}
Schedule is the name of the model that holds the game details.
Here is my form binding;
{!! Form::model($game,['method' => 'POST', 'url' => ['team/update', $game->id]]) !!}
@include ('gamesForm', ['submitButtonText' => 'Update'])
{!! Form::close() !!}
Here is the form partial (just the select in question);
<!-- Home Team Form Input -->
<div class="form-group col-xs-4">
{!! Form::label('home_team', 'Home:') !!}
{!! Form::select('home_team', $teams, null, ['class' => 'form-control']) !!}
</div>
'home_team' is the name of the col in 'schedules'. If I use 'home_team' for a text input, the binding works. Not so much for a select.
I have also added this to my Schedule class;
public function home_team()
{
return $this->belongsTo('App\Schedule', 'home_team');
}
Still not working...