From 15c3aa4fb1683cc045c8a347840c3eb930ccc6bc Mon Sep 17 00:00:00 2001 From: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com> Date: Mon, 23 May 2022 22:05:37 +0800 Subject: [PATCH] docs(components): [input-number] HTML tag issue (#7864) --- docs/en-US/component/input-number.md | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/en-US/component/input-number.md b/docs/en-US/component/input-number.md index 88cb891bea..70ac0f524a 100644 --- a/docs/en-US/component/input-number.md +++ b/docs/en-US/component/input-number.md @@ -81,22 +81,22 @@ input-number/controlled ## Attributes -| Attribute | Description | Type | Accepted Values | Default | -| --------------------------------------------- | ------------------------------------------------ | ---------------------- | --------------- | ----------- | -| model-value / v-model | binding value | number / undefined | — | — | -| min | the minimum allowed value | number | — | `-Infinity` | -| max | the maximum allowed value | number | — | `Infinity` | -| step | incremental step | number | — | 1 | -| step-strictly | whether input value can only be multiple of step | boolean | — | false | -| precision | precision of input value | number | — | — | -| size | size of the component | string | large/small | default | -| disabled | whether the component is disabled | boolean | — | false | -| controls | whether to enable the control buttons | boolean | — | true | -| 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 | - | - | -| value-on-clear | value should be set when input box is cleared | string / number / null | min/max | - | +| Attribute | Description | Type | Accepted Values | Default | +| ----------------------------- | ------------------------------------------------ | ---------------------- | --------------- | ----------- | +| model-value / v-model | binding value | number / undefined | — | — | +| min | the minimum allowed value | number | — | `-Infinity` | +| max | the maximum allowed value | number | — | `Infinity` | +| step | incremental step | number | — | 1 | +| step-strictly | whether input value can only be multiple of step | boolean | — | false | +| precision | precision of input value | number | — | — | +| size | size of the component | string | large/small | default | +| disabled | whether the component is disabled | boolean | — | false | +| controls | whether to enable the control buttons | boolean | — | true | +| 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 | - | - | +| value-on-clear **(\> 2.2.0)** | value should be set when input box is cleared | string / number / null | min/max | - | ## Events