Created
December 6, 2018 18:23
-
-
Save veeranjik/03f2afc560d41be113915323b46c490d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
loadOptions: function (component, event, helper) { | |
var opts = [ | |
{ value: "de", label: "German" }, | |
{ value: "es", label: "Spanish" }, | |
{ value: "ta", label: "Tamil" }, | |
{ value: "en", label: "English" } | |
]; | |
component.set("v.options", opts); | |
}, | |
handleSelect:function(component,event,helper){ | |
var selected = event.getSource().get("v.value"); | |
}, | |
keyPressController: function (component, event, helper) { | |
var prpAct2=component.find("prptext3"); | |
var prpActVal2 = prpAct2.get("v.value"); | |
prpAct2.set("v.errors", null); | |
var searchKey = component.get("v.searchKey"); | |
var Language = component.get("v.selectedValue"); | |
helper.openListbox(component, searchKey); | |
helper.displayOptionsLocation(component, searchKey,Language); | |
}, | |
clear: function (component, event, helper) { | |
helper.clearComponentConfig(component); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment