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
bdc93636
Commit
bdc93636
authored
Nov 05, 2018
by
SkyAo
Committed by
hetech
Nov 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InputNumber: add placeholder attribute (#13275)
parent
f98e797d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
examples/docs/en-US/input-number.md
examples/docs/en-US/input-number.md
+2
-0
examples/docs/es/input-number.md
examples/docs/es/input-number.md
+2
-0
examples/docs/zh-CN/input-number.md
examples/docs/zh-CN/input-number.md
+2
-0
packages/input-number/src/input-number.vue
packages/input-number/src/input-number.vue
+2
-0
No files found.
examples/docs/en-US/input-number.md
View file @
bdc93636
...
...
@@ -191,6 +191,8 @@ Use attribute `size` to set additional sizes with `medium`, `small` or `mini`.
|controls-position | position of the control buttons | string | right | - |
|name | same as
`name`
in native input | string | — | — |
|label | label text | string | — | — |
|placeholder | placeholder in input | string | - | - |
### Events
| Event Name | Description | Parameters |
...
...
examples/docs/es/input-number.md
View file @
bdc93636
...
...
@@ -192,6 +192,8 @@ Utilice el atributo `size` para establecer tamaños adicionales con `medium`, `s
| controls-position | posición de los botones de control | string | right | - |
| name | lo mismo que
`name`
en un input nativo | string | — | — |
| label | texto de la etiqueta | string | — | — |
| placeholder | placeholder in input | string | - | - |
### Eventos
| Nombre | Descripción | Parámetros |
...
...
examples/docs/zh-CN/input-number.md
View file @
bdc93636
...
...
@@ -189,6 +189,8 @@
| controls-position | 控制按钮位置 | string | right | - |
| name | 原生属性 | string | — | — |
| label | 输入框关联的label文字 | string | — | — |
| placeholder | 输入框默认 placeholder | string | - | - |
### Events
| 事件名称 | 说明 | 回调参数 |
|---------|--------|---------|
...
...
packages/input-number/src/input-number.vue
View file @
bdc93636
...
...
@@ -29,6 +29,7 @@
<el-input
ref=
"input"
:value=
"currentInputValue"
:placeholder=
"placeholder"
:disabled=
"inputNumberDisabled"
:size=
"inputNumberSize"
:max=
"max"
...
...
@@ -91,6 +92,7 @@
},
name
:
String
,
label
:
String
,
placeholder
:
String
,
precision
:
{
type
:
Number
,
validator
(
val
)
{
...
...
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