Built motion from commit (unavailable).|2.5.26
[motion2.git] / public / assets / plugins / angular-material-form-builder / src / lib / directives / agreement-item / agreement-view.tpl.html
1 <md-input-container>
2   <div
3     layout="{{AgreementView.formItem.config.direction == 'horizontal' ? 'row' : 'columb'}}"
4   >
5     <md-checkbox
6       ng-model="AgreementView.formItem.options[0].selected"
7       ng-change="AgreementView.toggleSelectedOption(option)"
8       ng-disabled="AgreementView.disableOptions && !option.selected"
9       aria-label="..."
10       >{{AgreementView.formItem.options[0].value}}</md-checkbox
11     >
12   </div>
13
14   <div ng-messages="AgreementView.form.$error">
15     <div ng-message="minSelections">
16       Must select {{AgreementView.formItem.maxSelections || 1}} items
17     </div>
18   </div>
19 </md-input-container>