This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #4445
- Loading branch information
Showing
3 changed files
with
200 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<div ng-controller="ButtonsCtrl"> | ||
<h4>Single toggle</h4> | ||
<pre>{{singleModel}}</pre> | ||
<button type="button" class="btn btn-primary" ng-model="singleModel" btn-checkbox btn-checkbox-true="1" btn-checkbox-false="0"> | ||
<button type="button" class="btn btn-primary" ng-model="singleModel" uib-btn-checkbox btn-checkbox-true="1" btn-checkbox-false="0"> | ||
Single Toggle | ||
</button> | ||
<h4>Checkbox</h4> | ||
<pre>Model: {{checkModel}}</pre> | ||
<pre>Results: {{checkResults}}</pre> | ||
<div class="btn-group"> | ||
<label class="btn btn-primary" ng-model="checkModel.left" btn-checkbox>Left</label> | ||
<label class="btn btn-primary" ng-model="checkModel.middle" btn-checkbox>Middle</label> | ||
<label class="btn btn-primary" ng-model="checkModel.right" btn-checkbox>Right</label> | ||
<label class="btn btn-primary" ng-model="checkModel.left" uib-btn-checkbox>Left</label> | ||
<label class="btn btn-primary" ng-model="checkModel.middle" uib-btn-checkbox>Middle</label> | ||
<label class="btn btn-primary" ng-model="checkModel.right" uib-btn-checkbox>Right</label> | ||
</div> | ||
<h4>Radio & Uncheckable Radio</h4> | ||
<pre>{{radioModel || 'null'}}</pre> | ||
<div class="btn-group"> | ||
<label class="btn btn-primary" ng-model="radioModel" btn-radio="'Left'">Left</label> | ||
<label class="btn btn-primary" ng-model="radioModel" btn-radio="'Middle'">Middle</label> | ||
<label class="btn btn-primary" ng-model="radioModel" btn-radio="'Right'">Right</label> | ||
<label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Left'">Left</label> | ||
<label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Middle'">Middle</label> | ||
<label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Right'">Right</label> | ||
</div> | ||
<div class="btn-group"> | ||
<label class="btn btn-success" ng-model="radioModel" btn-radio="'Left'" uncheckable>Left</label> | ||
<label class="btn btn-success" ng-model="radioModel" btn-radio="'Middle'" uncheckable>Middle</label> | ||
<label class="btn btn-success" ng-model="radioModel" btn-radio="'Right'" uncheckable>Right</label> | ||
<label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Left'" uncheckable>Left</label> | ||
<label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Middle'" uncheckable>Middle</label> | ||
<label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Right'" uncheckable>Right</label> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.
5a1c2c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we have a BREAKING CHANGES section in this commit so we can properly generate CHANGELOG?
5a1c2c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. The breaking change comes when we remove the deprecated version.
The library still works perfectly, no breaking change. People will only get warnings on their console about deprecation.
For 1.0, we will remove all the deprecated versions so then, we will make clear all the breaking changes.
5a1c2c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, on that note, we should revisit the breaking changes template because we missed some stuff on 0.13.4 - or rather, it didn't transfer over from the commit messages and I had to fix manually.
5a1c2c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that was a bad usage from our part.