Opened 10 years ago

Closed 10 years ago

#8310 closed defect (invalid)

dojo.attr should support defaultValue

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.3
Component: Core Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

Right now, dojo.attr(node, "defaultValue") does not give the right answer. It should be added to the _attrProps used by dojo.attr.

Change History (1)

comment:1 Changed 10 years ago by James Burke

Resolution: invalid
Status: newclosed

Relevant changesets are [16125] and [16140], but decided to close this as invalid for now (the second changeset rolls back the first changeset change). There is a larger question about supporting fetching properties of a DOM element vs things via getAttribute() and things that are considered true dom attributes. Adding all of those dom properties to _attrProps is not scalable.

Note: See TracTickets for help on using tickets.