Opened 6 years ago
Last modified 4 years ago
#18230 new feature
FilteringSelect: Do not use searchAttr for displayedValue
Reported by: | Simon Speich | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | Dijit - Form | Version: | 1.10.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When using the FilteringSelect? with a store JsonRest? you normally want search for the id attribute, but you don't want the id to be displayed in the input. So I suggest a new attribute displayedValueAttr with can be set to the store item attribute you want to be displayed instead of the searchAttr. Currently I have to do:
onChange: function() { if (this.item) { this.set('displayedValue', this.item.myLabelAttr); } }
Change History (2)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|
comment:2 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Note: See
TracTickets for help on using
tickets.
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.