Skip to content

Commit 3efd628

Browse files
committed
Merge pull request #69 from aralejs/fix/#67#68
禁止tab填写表单 和 handlebar不兼容outer的问题
2 parents f9a3602 + 4b23ebb commit 3efd628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arale-select",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"description": "模拟 select 的组件",
55
"keywords": ["widget"],
66
"homepage": "http://aralejs.org/select",

src/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ var Select = Overlay.extend({
109109
var input = $('input[name="' + selectName + '"]').eq(0);
110110
if (!input[0]) {
111111
input = $(
112-
'<input type="text" id="select-' + selectName.replace(/\./g, '-') +
112+
'<input type="text" tabindex="-1" id="select-' + selectName.replace(/\./g, '-') +
113113
'" name="' + selectName +
114114
'" />'
115115
).css({

0 commit comments

Comments
 (0)