From 1e0429c98917a6ce053785acc625ccf8803647ff Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 29 Mar 2021 10:08:50 +0800 Subject: [PATCH] docs(Field): add autocomplete prop (#8417) --- src/field/README.md | 1 + src/field/README.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/src/field/README.md b/src/field/README.md index dd904cc67..3d9a5c7dd 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -252,6 +252,7 @@ Use `input-align` prop to align the input value. | right-icon | Right side icon name | _string_ | - | | icon-prefix `v2.5.3` | Icon className prefix | _string_ | `van-icon` | | rules `v2.5.0` | Form validation rules | _Rule[]_ | - | +| autocomplete | [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element | _string_ | - | ### Events diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index 5e2c71356..9812c37a9 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -277,6 +277,7 @@ export default { | right-icon | 右侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | icon-prefix `v2.5.3` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` | | rules `v2.5.0` | 表单校验规则,详见 [Form 组件](#/zh-CN/form#rule-shu-ju-jie-gou) | _Rule[]_ | - | +| autocomplete | input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) | _string_ | - | ### Events