Re: [SMARTY] html_option : label display isn't it wrong????

From: Date: Thu, 30 Jan 2003 14:21:11 +0000
Subject: Re: [SMARTY] html_option : label display isn't it wrong????
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7419@lists.php.net to get a copy of this message
That is fixed in CVS. On Wed, 2003-01-29 at 21:12, olivier hericord wrote: > 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 :( -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#7419) next »