Opened 7 years ago

Last modified 5 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:


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 6 years ago by dylan

Milestone: tbd1.12

comment:2 Changed 5 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.