I have the select tag below:
<g:select name="recommendation" from="${recommendation.list()}"
optionKey="id" optionValue="recommendation"
value="${theAssessment.recommendation}"
noSelection="['':'-- Select Assessor Recommendation --']"
/>
The form works as expected as when the value is null the noSelection is displayed. When I use the select tag to select the data I want to submit, this also works fine as this is persisted in the database. When I then go back to the form the noSelection over rides the value even when the value is not null. I've looked at the docs and I'm using this tag exactly as stated.