here is the html code :
<select name="famille" id="famille">
<option value="">Famille :</option>
<option value="[famille.id]">[famille.nom;block=opt]</option>
<option selected>[var.la_famille;selected]</option>
</select>
|
famille is an array of values coming from a database. $la_famille is the value I want to display. If $la_famille =="", the tbs does'nt select the first row, but instead create a new empy row at the end.
The problem is this code was working with tbs 1.81, and I seen nothing in the changlod that could explain this....