Ticket #4721 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Checkbox "value" cannot be removed

Reported by: fredck Owned by: m.nguyen
Priority: Normal Milestone: CKEditor 3.3
Component: UI : Dialogs Version: 3.0.1
Keywords: Confirmed Review+ Cc:

Description

  1. Load the following HTML:
<p><input type="checkbox" value="My Value" /></p>
  1. With IE, right-click the checkbox and open the properties dialog.
  2. Delete the value field and confirm the dialog.
  3. Go to source.

The "value" attribute should disappear, but it's still there, with the original value.

It works well when changing the value instead.

Attachments

4721.patch (487 bytes) - added by m.nguyen 5 years ago.
4721_2.patch (926 bytes) - added by m.nguyen 5 years ago.

Change History

comment:1 Changed 5 years ago by fredck

  • Milestone changed from CKEditor 3.2 to CKEditor 3.3

Changed 5 years ago by m.nguyen

comment:2 Changed 5 years ago by m.nguyen

  • Status changed from new to assigned
  • Owner set to m.nguyen
  • Keywords Review? added

comment:3 Changed 5 years ago by garry.yao

  • Keywords Review- added; Review? removed
  1. Doesn't work in IE8 strict mode.
  2. IE6/7 result in an 'value' with empty value.

comment:4 Changed 5 years ago by garry.yao

The common trick we employed to deal with this problem was to recreate the element.

Changed 5 years ago by m.nguyen

comment:5 Changed 5 years ago by m.nguyen

  • Keywords Review? added; Review- removed

comment:6 Changed 5 years ago by garry.yao

  • Keywords Review+ added; Review? removed

comment:7 Changed 5 years ago by m.nguyen

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [5236].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy