Created
February 28, 2011 20:03
-
-
Save arantius/847923 to your computer and use it in GitHub Desktop.
angular <select> keyboard test case
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
<!DOCTYPE html> | |
<html xmlns:ng="http://angularjs.org"> | |
<head> | |
<script type="text/javascript" ng:autobind src="http://code.angularjs.org/0.9.10/angular-0.9.10.js"></script> | |
<script type="text/javascript"> | |
function NullCtrl() { | |
this.trigger = 'alpha'; | |
} | |
</script> | |
</head> | |
<body ng:controller="NullCtrl"> | |
<input type="text" value="focus me, hit tab, then down" size="60"> | |
<select name="trigger"> | |
<option>alpha</option> | |
<option>beta</option> | |
<option>gamma</option> | |
<option>delta</option> | |
</select> | |
<pre>trigger: {{trigger}}</pre> | |
<p>The trigger value will not change until you blur the select box.</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment