ember.js Ember.Select throws error "Cannot read property 'selectedIndex' of undefined" -


Then, I have this code:

  {{# if ifclient}} { {See Amber. Choose value = country content = options.country prompt = 'please select country'}} {{/ if}}   

which works great on load because isClient Default to true, however, when I set the isCLient false, I get this error:

  Mandatory   

Property 'selectedIndex' can not be read Anyone with better understanding of the underlying code has any ideas?

OK, so I found out the problem was.

I was using Amber-Animate Library and calling:

  Ember.View.reopen ({willAnimateIn: function () {this. $ (). ( );}, Anime in: function (done) {this. $ (). FadeIn (250, done);}, animate out function (done) {this. $ (). FadeOut (250, done); },});  from Amber Selection is a scene, animation features were being called when it was visible and disappeared. Therefore, I have changed it from the top:  
  Amber Animatedview = amber View. Extension ({  

And all is well.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -