Opened 12 years ago
Closed 10 years ago
#7529 closed bug (invalid)
Button() checkbox problem with blanks space between words) and / in a string
Reported by: | jorg76440 | Owned by: | jorg76440 |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.button | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
As soon as you use for the labels of the checkbox button() function two words seperated by a blank space, the button() doesn't work any more and creates persistant problems in the following calls to the button() function as checkboxes. You get the same problem if you put a / in a string
Change History (9)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → open |
---|
The example markup would be as simple as:
<label for="foo">this has spaces/and slashes</label><input type="checkbox" name="foo">
You can modify the checkbox button demo to have slashes in the labels and see the problem.
comment:3 Changed 12 years ago by
I just tested it with the 1.9 development version pulled from github and it seems to be working fine.
Added
<label for="foo">this has spaces/and slashes</label><input type="checkbox" name="foo" id="foo">
Initialized it with
$( "#foo" ).button();
Tested the follow js code against it
$( "#foo" ).button("disable"); $( "#foo" ).button("enable"); alert($( "#foo" ).attr("checked")); $( "#foo" ).attr("checked", true); $( "#foo" ).button("refresh");
comment:4 Changed 11 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:5 Changed 11 years ago by
Owner: | set to dalekocian |
---|---|
Status: | open → assigned |
comment:6 Changed 10 years ago by
Owner: | dalekocian deleted |
---|---|
Status: | assigned → open |
Looks like this can enter back into the general pool.
comment:7 Changed 10 years ago by
Attempt at reproducing http://jsbin.com/onupip/2/edit
I can't reproduce this issue, plus submit a demo of this issue please.
comment:8 Changed 10 years ago by
Owner: | set to jorg76440 |
---|---|
Status: | open → pending |
I feel like I was able to reproduce this before, but I can't any more, even with 1.8.14.
comment:9 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Could you add a code example showing this error? Your bug description is hard to follow.