You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I'm trying to make a car Brands -> Models input options but I can't change the 2nd input options after I selected the 1st input.
Like when I select "Ford" then I can only select 'Focus' or 'Fiesta' at the next input.
And when I select 'Toyota' then I can only select 'Camry' at the next input.
I found an possible way to make it , put ng-change directive on the first option then I can change the second options , but I tried to put "ng-change" on the editable tag , it shows an error " ReferenceError: models is not defined " , Where can I put ng-change will bind the select input element? Thanks.
Hi ,
I'm trying to make a car Brands -> Models input options but I can't change the 2nd input options after I selected the 1st input.
Like when I select "Ford" then I can only select 'Focus' or 'Fiesta' at the next input.
And when I select 'Toyota' then I can only select 'Camry' at the next input.
below is the link I didn't finish.
http://jsfiddle.net/NfPcH/16483/
I found an possible way to make it , put ng-change directive on the first option then I can change the second options , but I tried to put "ng-change" on the editable tag , it shows an error " ReferenceError: models is not defined " , Where can I put ng-change will bind the select input element? Thanks.
http://jsfiddle.net/NfPcH/16490/
Thanks
Update :
I found a "e-ng-change" and then put $data as parameter , it works. Thanks.
http://jsfiddle.net/NfPcH/16491/
The text was updated successfully, but these errors were encountered: