From 6a23ada7d3c0250332833b041cceb6a3cc654de1 Mon Sep 17 00:00:00 2001
From: morning-star <26325820+Sight-wcg@users.noreply.github.com>
Date: Fri, 26 Jul 2024 23:29:25 +0800
Subject: [PATCH] =?UTF-8?q?feat(form-select):=20=E6=94=B9=E8=BF=9B=20lay-s?=
=?UTF-8?q?earch=20=E5=B1=9E=E6=80=A7=EF=BC=8C=E6=94=AF=E6=8C=81=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE=E3=80=8C=E6=98=AF=E5=90=A6=E5=A4=A7=E5=B0=8F=E5=86=99?=
=?UTF-8?q?=E6=95=8F=E6=84=9F=E3=80=8D=E5=92=8C=E3=80=8C=E6=A8=A1=E7=B3=8A?=
=?UTF-8?q?=E6=90=9C=E7=B4=A2=E3=80=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
feat(form-select): 弃用 `lay-search="cs"`,新增 `lay-search="{caseSensitive:false, fuzzy: false}"` 方式 (#2121)
---
docs/form/index.md | 2 +-
src/modules/form.js | 28 ++++++++++++++++++----------
2 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/docs/form/index.md b/docs/form/index.md
index cac7d0d1..a364710a 100644
--- a/docs/form/index.md
+++ b/docs/form/index.md
@@ -116,7 +116,7 @@ form 还可以借助*栅格*实现更灵活的响应式布局。
| lay-reqtext | 自定义 | 设置*必填项*(`lay-verify="required"`)的默认提示文本 |
| lay-affix | [#详见](input.html#affix) | 输入框动态点缀,``元素 **私有属性** |
| lay-skin | [#详见](checkbox.html#default) | 设置 UI 风格。 ``,`` 元素 **私有属性** |
-| lay-search | 默认不区分大小写;
设置`cs`区分大小写 | 给 `select` 组件开启搜索功能。`