This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #170. Corrected the behavior of select when options are ng:rep…
…eated - Delete $postEval method, as it was a hack
- Loading branch information
Showing
19 changed files
with
328 additions
and
229 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE HTML> | ||
<html xmlns:ng="http://angularjs.org"> | ||
<head> | ||
<script type="text/javascript" src="../lib/jquery/jquery-1.4.2.js"></script> | ||
<script type="text/javascript" src="../src/angular-bootstrap.js" ng:autobind></script> | ||
<head> | ||
<body> | ||
<select name='selection0' style="display:block;"> | ||
<option ng:repeat='value in ["FOO","BAR"]'">{{value}}</option> | ||
</select> | ||
{{selection0}} <-- FOO should be shown here | ||
|
||
<hr/> | ||
|
||
<select ng:init="selection1='ignore'" name='selection1' style="display:block;"> | ||
<option ng:repeat='value in ["FOO","BAR"]' ng:bind-attr="{selected:'{{value==\'BAR\'}}'}">{{value}}</option> | ||
</select> | ||
{{selection1}} <-- BAR should be shown here | ||
|
||
<hr/> | ||
|
||
<select ng:init="selection2=1" name="selection2" style="display:block;"> | ||
<option value="{{$index}}" ng:repeat="opt in ['zero', 'one']">{{opt}}</option> | ||
</select> | ||
{{selection2}} <-- 1 should be shown here | ||
|
||
</body> | ||
</html> |
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
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
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
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
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
Oops, something went wrong.