angularjs select ng-click event does not expand the control -


I am trying to load the options of the selected tag on ng-click event dynamically. Click the arrows to expand the fire ng-click event. Since I get the data at that point and bind in the selection control, the angular expansion leaves any kind of extension, the selection does not extend, the user has to see once the results of dynamically loaded options And click on the arrow.

How can I properly expand selection in one click while loading options?

I tried to find a way to dynamically expand the load to be selected, but after this there is no cross browser approach to getting the APIC.

Here is the code, to bring the onclick recovery method and to select the data to bind. Click does not extend the control ...

  & lt; Div style = "position: relative;" & Gt; & Lt; input type = "text" class = "inputTextFieldCell" style = "width: 215px; position: relative; top: 0; left: 0; z-index: 2; padding: 0; margin: 0;" Ng-model = "subscriptionResource.Value" /> & Lt; Select class = "optionsCellInput selectTextFieldCell" style = "width: 240px; position: full; top: 0; left: 0; padding: 0; margin: 0;" NG-click = "resources.retrieve (subscriptionResource, $ event)" ng -model = "item" ng-options = "resource as resource. Ceelius for resource processing. SourcesLIC" ng-change = "select ( Membership resource, item) "& gt; & Lt; / Select & gt; & Lt; / Div & gt; javascript:  
  $ scope.resources = {retrieved: function (resource, event) {if (resource.resourceList == faucet) {var reqDataRetrieveResources = {"request": zero}; ReqDataRetrieveResources = window.createRequest (window.definitions.messages.RetrieveResourceRequest, reqDataRetrieveResources); ReqDataRetrieveResources.request ["ResourceType"] = 1; ReqDataRetrieveResources.request ["SearchCount"] = 5; $ http.post (window.definitions.url, reqDataRetrieveResources) .success (function (result) {if ((result.d! == null) & amp; amp; amp; amp; amp; amp; amp ; amp; amp; amp; amp; results [. resources! == faucet]) {resource.resourceList = result.d.Resources; return true;}}); Back true; }}}}    

instead of ng-mousedown Try using ng-click if this does not work, after binding your data, the $ range $ Apply Try calling.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -