logo       

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

php.smarty.general

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

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@xxxxxxxx>


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise