Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
79a4ac29
Commit
79a4ac29
authored
Dec 28, 2017
by
dicklwm
Committed by
杨奕
Dec 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#9038, add el-input tabindex props
parent
71f2b31b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
examples/docs/en-US/input.md
examples/docs/en-US/input.md
+1
-0
examples/docs/es/input.md
examples/docs/es/input.md
+1
-0
examples/docs/zh-CN/input.md
examples/docs/zh-CN/input.md
+1
-0
packages/input/src/input.vue
packages/input/src/input.vue
+4
-1
No files found.
examples/docs/en-US/input.md
View file @
79a4ac29
...
@@ -664,6 +664,7 @@ Search data from server-side.
...
@@ -664,6 +664,7 @@ Search data from server-side.
|autofocus | same as
`autofocus`
in native input | boolean | — | false |
|autofocus | same as
`autofocus`
in native input | boolean | — | false |
|form | same as
`form`
in native input | string | — | — |
|form | same as
`form`
in native input | string | — | — |
| label | label text | string | — | — |
| label | label text | string | — | — |
| tabindex | input tabindex | string | - | - |
### Input slots
### Input slots
...
...
examples/docs/es/input.md
View file @
79a4ac29
...
@@ -643,6 +643,7 @@ Búsqueda de datos desde el servidor.
...
@@ -643,6 +643,7 @@ Búsqueda de datos desde el servidor.
| autofocus | igual que
`autofocus`
en el input nativo | boolean | — | false |
| autofocus | igual que
`autofocus`
en el input nativo | boolean | — | false |
| form | igual que
`form`
en el input nativo | string | — | — |
| form | igual que
`form`
en el input nativo | string | — | — |
| label | texto de la etiqueta | string | — | — |
| label | texto de la etiqueta | string | — | — |
| tabindex | caja de entrada tabindex | string | - | - |
### Input slots
### Input slots
...
...
examples/docs/zh-CN/input.md
View file @
79a4ac29
...
@@ -820,6 +820,7 @@ export default {
...
@@ -820,6 +820,7 @@ export default {
| autofocus | 原生属性,自动获取焦点 | boolean | true, false | false |
| autofocus | 原生属性,自动获取焦点 | boolean | true, false | false |
| form | 原生属性 | string | — | — |
| form | 原生属性 | string | — | — |
| label | 输入框关联的label文字 | string | — | — |
| label | 输入框关联的label文字 | string | — | — |
| tabindex | 输入框的tabindex | string | - | - |
### Input slots
### Input slots
| name | 说明 |
| name | 说明 |
...
...
packages/input/src/input.vue
View file @
79a4ac29
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
<slot
name=
"prepend"
></slot>
<slot
name=
"prepend"
></slot>
</div>
</div>
<input
<input
:tabindex=
"tabindex"
v-if=
"type !== 'textarea'"
v-if=
"type !== 'textarea'"
class=
"el-input__inner"
class=
"el-input__inner"
v-bind=
"$props"
v-bind=
"$props"
...
@@ -70,6 +71,7 @@
...
@@ -70,6 +71,7 @@
</template>
</template>
<textarea
<textarea
v-else
v-else
:tabindex=
"tabindex"
class=
"el-textarea__inner"
class=
"el-textarea__inner"
:value=
"currentValue"
:value=
"currentValue"
@
input=
"handleInput"
@
input=
"handleInput"
...
@@ -159,7 +161,8 @@
...
@@ -159,7 +161,8 @@
clearable
:
{
clearable
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
}
},
tabindex
:
String
},
},
computed
:
{
computed
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment