Bug Tracker

Opened 4 years ago

Closed 4 years ago

#14716 closed bug (fixed)

Textarea isn't cloned properly in IE11

Reported by: m_gol Owned by: dmethvin
Priority: blocker Milestone: 1.11/2.1
Component: manipulation Version: 2.1.0-rc1
Keywords: Cc: dmethvin
Blocked by: Blocking:

Description

IE11 fails the test checking for defaultValue to be cloned properly in textarea. This causes a test to fail, see:
http://swarm.jquery.org/result/1511608

cc @dmethvin, you said it's about splitting one support test AFAIK, do you have a fix ready?

Change History (4)

comment:1 Changed 4 years ago by m_gol

Cc: dmethvin added
Component: unfiledmanipulation
Milestone: None1.11/2.1
Priority: undecidedblocker
Status: newopen

comment:2 Changed 4 years ago by dmethvin

Owner: set to dmethvin
Status: openassigned

Sorry, I don't, but I looked at it a while back. Seemed like IE11 fixed the cloning of checkboxes but not the cloning of textareas. We had both assumed by support.noCloneChecked and a single fixInput() for both. If we wanted to keep a single check we could reverse it and check a textarea, or take the hit and do two separate checks. We can do this in .1

comment:3 Changed 4 years ago by m_gol

I'm fine with reversing the check, it'll save size and will be simpler to implement.

comment:4 Changed 4 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

Manipulation: Use textarea for missing IE defaultValue check

IE11 fixed the checkbox defaultValue issue but not textarea. Rather than creating a new detect name I'm reusing the old one to protect anyone who is unwisely using this externally. Re-fixing the defaultValue when it doesn't need to be done is not a problem, so leave that code for IE11.

Fixes #14716 Closes gh-1495

Changeset: a20494228d51c57c454ff9f10a4ba8bbdda0e49c

Note: See TracTickets for help on using tickets.