Modify ↓
Ticket #5009 (closed bug: invalid)
[validate] option witout no value crashes in i.e.
| Reported by: | hasantayyar | Owned by: | joern |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | web | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
with Validation plugin this cause a crash in i.e. (I've tested in i.e. 8)
<option>text</option>
I debugged the script and see that line cuse the srash
(line 890)
case 'select':
var options = $("option:selected", element);
...
so this beacuse of "no value attribute".
If there is no value attribute the form gets the inner text, and the validation should get the inner text, too.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
