Linked Questions

Popular Questions

hi I was trying to implement the Collapse All And Expand All functionality for a accordion. Its Working sometimes but not always means if the user trying expand individual groups and apply collapse all. Below is the code in HTML i am trying . What extra steps i need to take care to make this work correctly.

<uib-accordion close-others="false" ng-repeat="(key,value) in FORM_DATA">
   <div uib-accordion-group class="panel-primary" is-open="collapsed">
   <uib-accordion-heading>{{key | transformlabel}}<i class="fa fa- 
    chevron- right pull-right"></i>
</uib-accordion-heading>

<div class="form-group">
<div class="col-sm-6" ng-repeat="(intkey,intvalue) in value">
<div class="col-sm-6">
    <label class="control-label">{{intkey | transformlabel}}</label>
</div>
  <div class="col-sm-6">
     <input readonly type="text" ng-model="intvalue">
  </div>
 </div>
</div>
</div>
</uib-accordion>

Related Questions