html_options suggestion
| From: | G | Date: | Tue, 21 May 2002 20:18:39 +0000 |
| Subject: | html_options suggestion | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4340@lists.php.net to get a copy of this message | ||
Small suggestion for html_options :)
How about adding a "default" attribute or something so that if the
"selected" value doesn't exist, default would get added to the options and
be selected? Right now if selected doesn't exist, the first option is
selected (I add a blank array entry to values/output/options to deal with
this).
Gerard