Re: Quickform select freeze problem
| From: | Alexey Borzov | Date: | Sat, 28 May 2005 19:02:31 +0000 |
| Subject: | Re: Quickform select freeze problem | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19402@lists.php.net to get a copy of this message | ||
Hi,
Justin Patrin wrote:
Well, I just went over a (way too long) list of open bugs for HTML_QuickForm and it has several distinct types of entries: 1) Simple bugs with straightforward fixes; 2) Simple feature requests (esp. for date element); 3) Various hierselect problems I am going to do 1) and 2) pretty soon (the upcoming week or two), but 3) will probably require a complete rewrite of hierselect's JavaScript and a good portion of PHP as well. :( No idea how long this may take.I knew I'd seen this problem before. BTW, sorry that my examples are down, my webserver died a while ago. Any idea when this will be fixed? It's a very straightforward fix.There's a strange behaviout in freezing select elements in QF. I want an empty (zero) value in the top of array I use for select fields, to display a nice label (e.g, "choose one"). I don't put it directly in the array since I need to validate (server-side) choosen option against the array (via a simple registerrule) But... when I freeze the form, I don't get the choosen option! Instead, I get the "choose" option (I understand it sound a bit confusing, it's simpler to try than to explain)Looks like this bug: http://pear.php.net/bugs/3193