120a1ab98d8ff7e8522e9585db1fd4ee8991a536
[motion2.git] /
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>