html_options bug

From: Date: Wed, 19 Mar 2003 09:19:36 +0000
Subject: html_options bug
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8733@lists.php.net to get a copy of this message
Morning I have just been checking a site a new noticed a couple of things. I have the html options file from the cvs. In the docs it says that if the name attribute is passed it will create the <select> tags, but this is optional. Then inside the functions.html_options.php file $name is initialised to 'select', so the <select> tage will always be created. This has a knock on effect for things like date select. IE causes all the options to be displayed as text, this is how I came across this. Removing the $name = 'select' line solves this problem. Matt -------------------------------------------------

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