0
嗨,我有一個像下面的代碼的幾個手風琴組頁面。 提交後,我想,如果是可能的錯誤 打開第一手風琴組(在我的代碼我有需要2個不同的輸入2手風琴組)AngularJS - 用戶界面Bootstrap手風琴組 - 有錯誤打開面板
<uib-accordion class="accordion-bs" id="accordionTest">
<uib-accordion-group heading="Referente 2" >
<div class="panel-body">
<div class="col-xs-6 form-horizontal paddL0">
<div class="form-group" >
<div class="col-xs-7">
<input type="text" class="form-control SB-width" name="ref2_nome" ng-model="data.ref2_nome" required>
<span ng-if="datiRiferimentiForm.ref2_nome.$invalid && !datiRiferimentiForm.ref2_nome.$pristine" class="help-block help-width">Error</span>
</div>
</div>
</div>
</div>
</uib-accordion-group>
<uib-accordion-group heading="Referente 2" >
<div class="panel-body">
<div class="col-xs-6 form-horizontal paddL0">
<div class="form-group" >
<div class="col-xs-7">
<input type="text" class="form-control SB-width" name="ref2_cognome" ng-model="data.ref2_cognome" required>
<span ng-if="datiRiferimentiForm.ref2_cognome.$invalid && !datiRiferimentiForm.ref2_cognome.$pristine" class="help-block help-width">Error</span>
</div>
</div>
</div>
</div>
</uib-accordion-group>
</uib-accordion>
提交
謝謝我使用了這個想法。 – rsssalice