From 18ac6d58f80c2c72f2367a0e8fa3713a3cdab31e Mon Sep 17 00:00:00 2001 From: morning-star <26325820+Sight-wcg@users.noreply.github.com> Date: Wed, 28 Feb 2024 08:57:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(form-select):=20=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=96=B0=20option=20(#1618)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(form-select): 支持创建新 option * docs: 更新 select 文档 * fix: escape * fix: 比较 option 未区分大小写 * update code * docs: form * fix: 缺少闭合标签 * fix: 删除 escape, 和初始
行为一致 --- docs/form/index.md | 1 + docs/form/select.md | 12 ++++++++ src/modules/form.js | 70 +++++++++++++++++++++++++++++++++++---------- 3 files changed, 68 insertions(+), 15 deletions(-) diff --git a/docs/form/index.md b/docs/form/index.md index 55ec52f8..5d080782 100644 --- a/docs/form/index.md +++ b/docs/form/index.md @@ -117,6 +117,7 @@ form 还可以借助*栅格*实现更灵活的响应式布局。 | lay-affix | [#详见](input.html#affix) | 输入框动态点缀,``元素 **私有属性** | | lay-skin | [#详见](checkbox.html#default) | 设置 UI 风格。 `` 元素 **私有属性** | | lay-search | 默认不区分大小写;
设置`cs`区分大小写 | 给 `select` 组件开启搜索功能。`` 元素 **私有属性** } | | lay-submit | 无需值 | 设置元素(一般为`