html_option : label display isn't it wrong????
| From: | olivier hericord | Date: | Thu, 30 Jan 2003 03:12:53 +0000 |
| Subject: | html_option : label display isn't it wrong???? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7412@lists.php.net to get a copy of this message | ||
I've just updated my smarty from 2.3 to 2.3.1.....and i have a problem with html_option on my site.
html_option generates that code:
<option label="0" value="0">Rendez-vous</option>
<option label="10" value="10">Statistiques par Appareil</option>
<option label="20" value="20">Statistiques par Examen</option>
<option label="30" value="30">Statistiques par médecin</option>
and it should generate that code:
<option label="Rendez-vous" value="0">Rendez-vous</option>
<option label="Statistiques par Appareil" value="10">Statistiques par Appareil</option>
<option label="Statistiques par Examen" value="20">Statistiques par Examen</option>
<option label="Statistiques par médecin" value="30">Statistiques par médecin</option>
Now , the label attribute seems to be equal to the value of the item and i think i should be equal to the name of the item!!!!????
Am i wrong?
i don't understand :(