Bug Tracker

Opened 12 years ago

Closed 12 years ago

#7123 closed bug (fixed)

<input|checkbox>.val(array-of-values) does not update checked attribute properly if array-of-values are numbers

Reported by: FondDuLac Owned by: john
Priority: low Milestone: 1.4.3
Component: attributes Version: 1.3.2
Keywords: radio, val() Cc:
Blocked by: Blocking:


Inside val(), value has been turned into a string if it is a number, but the same check and cast are not performed in the jQuery.InArray(this.value, value) when array[i] is === compared to value.

Change History (5)

comment:1 Changed 12 years ago by snover

Owner: set to snover
Status: newassigned

I have a patch for this, working on unit tests.

comment:3 Changed 12 years ago by snover

Component: unfiledattributes
need: ReviewPatch
Priority: undecidedlow

comment:4 Changed 12 years ago by snover

need: PatchCommit
Owner: changed from snover to john
Status: assignednew

comment:5 Changed 12 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.