Opened 9 years ago

Closed 9 years ago

#11451 closed defect (fixed)

Incorrect fetchProperties example in ComboBox.js

Reported by: jords Owned by: bill
Priority: high Milestone: 1.6
Component: Documentation Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

Hi

This confused me for a few days: the api docs for ComboBox?'s fetchProperties say to use { sort: {attribute:"name",descending: true} } . However, since sort needs to be an array, the correct argument is:

{ sort: [{attribute:"name",descending: true}] }

Patch for this is attached

Thanks Jordan

Attachments (1)

ComboBox.patch (530 bytes) - added by jords 9 years ago.
Patch to change this, against 1.5

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jords

Attachment: ComboBox.patch added

Patch to change this, against 1.5

comment:1 Changed 9 years ago by bill

Milestone: tbd1.6
Owner: set to bill
Status: newassigned

Thanks for the catch, I'll check it in.

comment:2 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22519]) fix example in inline API doc, thanks Jordan, fixes #11451 !strict.

Note: See TracTickets for help on using tickets.