Opened 10 years ago

Closed 10 years ago

#14765 closed defect (fixed) getValue returns escaped values

Reported by: ykami Owned by: ykami
Priority: undecided Milestone: 1.8
Component: DojoX Mobile Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:


The current method "getValue" on ‪ does not return the given value if that contains characters being translated to HTML, e.g. & != &.

If, e.g., a SpinWheel is declared like this:

<div id="cargoCommoditySpinWheel" dojoType="">
	<div id="cargoCommoditySpinWheelSlot" 
		labels="['&#8211;','Agriculture &amp; Forestry','Something else']"
		style="text-align: left; font-size: 10px; width: 100%; height: 100px;">

then getValue does not return the original value.

Change History (2)

comment:1 Changed 10 years ago by ykami

Milestone: tbd1.8
Status: newassigned

comment:2 Changed 10 years ago by ykami

Resolution: fixed
Status: assignedclosed

In [27825]:

Fixes #14765 !strict Take return value from this.items, not from innerHTML. Also, deprecated setValue/getValue, and added set() and get().

Note: See TracTickets for help on using tickets.