Re: [PEPr] Comment on HTML::HTML_QuickForm_altselect
| From: | David Sanders | Date: | Sun, 28 Jan 2007 01:52:44 +0000 |
| Subject: | Re: [PEPr] Comment on HTML::HTML_QuickForm_altselect | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45528@lists.php.net to get a copy of this message | ||
Ah yes I see what you mean. I should add a "return parent::exportValue()"
at the top of exportValue if the other option is disabled. I dunno why I
didn't do that in the first place ;)
>
> After quick review it doesn't seem like that you check for whether "Other"
> option is enabled/allowed, to return the proper values selected. i.e. if
> "Other" option was not enabled, the element should behave like a regular
> select QF element.
>