Hi , please can you help me . Series are duplicated , i want to disable 
selection after choosing an option . 


http://41.231.36.249/SIRWeb/Graphiques/gouvernorats/Demographie/1-population.html

On Thursday, March 28, 2013 at 3:41:45 PM UTC+1, Matt Ruby wrote:
>
> I've been working on this issue for a few days now.  I have things almost 
> working. 
>
> Not using ng-options, I can get the select options properly disabling as 
> other search values are changed.  The issues is, when you click on a 
> cabinet I set search.height and search.width and Angular will add an 
> empty <option value="? string:65 ?"></option>.  Angular will also set the 
> correct option as being selected.  I can't seem to figure out a way to 
> eliminate the empty option.
> http://plnkr.co/edit/FFyZFPR8uxYfnI5R4I4K?p=preview
>
> Using ng-options and optionsDisabled from: 
> https://github.com/angular/angular.js/issues/638
> This also works pretty well, however, select options are only disabled 
> when I change the select.  So in order for a height to disable, I have to 
> check the height to something other than the blank option.  In addition, I 
> can't seem to set the first option to "-" without breaking the search 
> filter.  Is there a way to have the select options re-render when a search 
> variable changes?  I think that would solve the main issue with this 
> solution. 
> http://plnkr.co/edit/XDD8Qcu8YWV5txHr3bme?p=preview
>
> If you can't tell, this is making me a little crazy.
>
> Thanks for your help in advance!
>
> -Ruby
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to