Opened 12 years ago
Last modified 12 years ago
#9178 confirmed Bug
Setting the selected option in Selection Field doesn't work properly.
Reported by: | Larry Hinderks | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
To reproduce
- Go to the CkEditor demo page
- Clear all content from the page
- Click on the Selection Field icon to add a select list
- Place the cursor in the "Text" field, type "aaa" and click on the "Add" button
- Place the cursor in the "Text" field again, type "bbb" and click on the "Add" button
- Click on the "bbb" field just added which is below the "aaa" field
- Click Set As Selected Value to make "bbb" the selected value.
- Go to source mode and notice the that selected="selected" is set on both the "aaa" and "bbb" options (see html below)
<p> <select><option selected="selected" value="">aaa</option><option selected="selected" value="">bbb</option></select></p>
I would expect that setting the "bbb" field would remove the selected="selected" tag on the "aaa" entry and place it on the "bbb" entry since the "Allow Multiple Selections" check box has not been checked.
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.0 |
Seems that issue has been reproducible in all browsers from CKEditor 3.0.
Once you use "Set as selected value" button all options get selected="selected"
attribute.
I forgot to say that this occurs in CkEditor 3.6.4 and IE9.