Hi,
I'm trying to clone a cascading dropdowns that are populated 
using data-ng-options with a ng-change event on the first one that should 
fill the second drop down accordingly.
I also have a dropdown that should set the number of the cascading dropdown 
clones.
I want also to insert the #number of the device under each dropdowns pair.

my html for one cascading dropdowns pair is:

  <div class="row deviceRow" id="deviceRow">


                        <h4>device #<label class="deviceRowCounter"
></label></h4>
                        <div class="col-lg-6 floatRight">
                            <div class="form-group">
                                <label for="">device company</label>
                                <select data-ng-options="o.deviceCompany 
for o in devices track by o.id" data-ng-model="deviceObj.id" 
class="form-control 
deviceType" ng-change="ChangeDevice(deviceObj.id)">
                                    <option value="">Choose device company
</option>
                                </select>
                            
                            </div>
                        </div>
                        <div class="col-lg-6 floatRight">
                            <div class="form-group">
                                <label for="">device version</label>
                                <select data-ng-options="o.deviceVersion 
for o in deviceVersions track by o.deviceVersion" data-ng-model=
"deviceVersionObj.id" class="form-control deviceType">
                                    <option value="">choose device version
</option>
                                </select>
                            </div>
                        </div>
</div>

any idea on how to accomplish this?
Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to