[ZEPPELIN-1593] Enforce sorting on dynamic form elements

This commit is contained in:
John Trengrove 2016-10-31 22:40:43 +11:00
parent 2f79852d34
commit 7ba9a3ba23

View file

@ -15,7 +15,7 @@ limitations under the License.
ng-show="!paragraph.config.tableHide"
class=" paragraphForm form-horizontal row">
<div class="form-group col-sm-6 col-md-6 col-lg-4"
ng-repeat="formulaire in paragraph.settings.forms"
ng-repeat="formulaire in paragraph.settings.forms | toArray | orderBy:'name.toString()'"
ng-init="loadForm(formulaire, paragraph.settings.params)">
<label class="control-label input-sm" ng-class="{'disable': paragraph.status == 'RUNNING' || paragraph.status == 'PENDING' }">{{formulaire.name}}</label>
<div>