AnsweredAssumed Answered

Get all the attributes of the selected option in FilteringSelect

Question asked by Sara_EL_MALKI on May 19, 2017
Latest reply on May 22, 2017 by Sara_EL_MALKI

Hi guys,

 

I have created a filtering Select with five attributes, I wanna get all these attributes after clicking search NOT in "Onchange" method, all what I can get so far is the value of the option selected using .value attributes 

uneVoie={nom:feature.attributes['nom'],nom:""+feature.attributes['nom'],ex_nom:""+feature.attributes['ex_nom'],id:""+feature.attributes['objectid'],tenant:""+feature.attributes['tenant'],aboutissant:""+feature.attributes['aboutissan'],id_voirie:""+feature.attributes['objectid'],};
Lesvoies.push(uneVoie);
new FilteringSelect({
id: "voiSelect",
store: new Memory({idProperty: "id", data: Lesvoies}),
autoComplete: true,
style: "width: 230px;",
searchAttr: "nom"
}, "voiSelect").startup(); }
All I can do is : 
var VoieFound=dijit.byId('voiSelect').value; //ID

Outcomes