Opened 5 years ago

Closed 4 years ago

#18283 closed enhancement (patchwelcome)

About the performance of fieldToObject function on dom-form mudule

Reported by: 154371199@… Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.13
Component: HTML Version: 1.10.1
Keywords: Cc:
Blocked By: Blocking:

Description

Hi Sir, I have a problem about the fieldToObject function to do the mulitple select value. Here, it use traversing all childnodes of select node. why you don't use the options, it will better performace. Please give me a resone.

Attachments (1)

index.html (1.5 KB) - added by 154371199@… 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by 154371199@…

Attachment: index.html added

comment:1 Changed 5 years ago by bill

#18282 is a duplicate of this ticket.

comment:2 Changed 5 years ago by bill

Component: GeneralHTML
Owner: set to Eugene Lazutkin
Type: defectenhancement

Assuming list.options works on all the browsers we support, that sounds like a reasonable enhancement.

comment:3 in reply to:  2 Changed 5 years ago by 154371199@…

Replying to bill:

Assuming list.options works on all the browsers we support, that sounds like a reasonable enhancement.

of course, The YUI also use options collection, You can view the http://yuilibrary.com/yui/docs/api/files/io_js_io-form.js.html#l1, line 86 of codes.

comment:4 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.