fecund
04-19-2007, 05:22 PM
If I have a combo box (built with "transform" from an existing Select) with these choices:
+---------------+
|(Pick one...) |
+---------------+
| A thing |
| Choose me! |
| Last |
+---------------+
And then I pick one:
+---------------+
| Last |
+---------------+
| Last |
+---------------+
And then I type something which invalidates my choice:
+---------------+
| Last & Least |
+---------------+
+---------------+
The combobox keeps the value for "Last" and sends it back on a submit.
This seems like a bug, if what's typed in the combobox doesn't match anything, shouldn't the value should be empty?
+---------------+
|(Pick one...) |
+---------------+
| A thing |
| Choose me! |
| Last |
+---------------+
And then I pick one:
+---------------+
| Last |
+---------------+
| Last |
+---------------+
And then I type something which invalidates my choice:
+---------------+
| Last & Least |
+---------------+
+---------------+
The combobox keeps the value for "Last" and sends it back on a submit.
This seems like a bug, if what's typed in the combobox doesn't match anything, shouldn't the value should be empty?