mirror of https://github.com/ElemeFE/element
Docs: fix default min of input-number (#9479)
parent
1b59561e3f
commit
9655a829b8
|
@ -156,7 +156,7 @@ Use attribute `size` to set additional sizes with `medium`, `small` or `mini`.
|
|||
| Attribute | Description | Type | Accepted Values | Default |
|
||||
|----| ----| ---| ----| -----|
|
||||
|value | binding value| number | — | — |
|
||||
|min | the minimum allowed value | number | — | 0 |
|
||||
|min | the minimum allowed value | number | — | `-Infinity` |
|
||||
|max | the maximum allowed value | number | — | `Infinity` |
|
||||
|step | incremental step | number | — | 1 |
|
||||
|size | size of the component | string | large/small| — |
|
||||
|
|
|
@ -157,7 +157,7 @@ Utilice el atributo `size` para establecer tamaños adicionales con `medium`, `s
|
|||
| Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
|
||||
| ----------------- | ---------------------------------------- | ------- | ----------------- | ----------- |
|
||||
| value | valor vinculado | number | — | — |
|
||||
| min | el valor mínimo permitido | number | — | 0 |
|
||||
| min | el valor mínimo permitido | number | — | `-Infinity` |
|
||||
| max | el valor maximo permitido | number | — | `Infinity` |
|
||||
| step | incremento (salto) | number | — | 1 |
|
||||
| size | tamaño del componente | string | large/small | — |
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|----------|-------------- |----------|-------------------------------- |-------- |
|
||||
| value | 绑定值 | number | — | — |
|
||||
| min | 设置计数器允许的最小值 | number | — | 0 |
|
||||
| min | 设置计数器允许的最小值 | number | — | -Infinity |
|
||||
| max | 设置计数器允许的最大值 | number | — | Infinity |
|
||||
| step | 计数器步长 | number | — | 1 |
|
||||
| size | 计数器尺寸 | string | large, small | — |
|
||||
|
|
Loading…
Reference in New Issue