Skip to content

fix(form): 修复 select 组件的字符转义问题#2661

Merged
sentsim merged 2 commits intomainfrom
fix/select-escape
May 6, 2025
Merged

fix(form): 修复 select 组件的字符转义问题#2661
sentsim merged 2 commits intomainfrom
fix/select-escape

Conversation

@sentsim
Copy link
Copy Markdown
Collaborator

@sentsim sentsim commented Apr 26, 2025

😃 本次 PR 的变化性质

请至少勾选一项

  • 功能新增
  • 问题修复
  • 功能优化
  • 分支合并
  • 其他改动:请在此处填写

🌱 本次 PR 的变化内容

✅ 本次 PR 的满足条件

请在申请合并之前,将符合条件的每一项进行勾选

  • 已提供在线演示地址(如:codepen, stackblitz)或无需演示
  • 已对每一项的改动均测试通过
  • 已提供具体的变化内容说明

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sentsim sentsim requested a review from Sight-wcg April 26, 2025 10:16
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 26, 2025

layui-example

npm i https://pkg.pr.new/layui/layui@2661

commit: f72b05f

@sentsim sentsim requested review from bxjt123 and coredwriter April 26, 2025 10:16
Sight-wcg
Sight-wcg previously approved these changes Apr 27, 2025
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
@sentsim sentsim merged commit 36a5bea into main May 6, 2025
2 checks passed
@ken678
Copy link
Copy Markdown

ken678 commented May 6, 2025

@sentsim 测试 只有在值的中间才有效,如果空格位于开头或者结尾,空格就没有了

@sentsim

This comment was marked as outdated.

@sentsim sentsim deleted the fix/select-escape branch May 6, 2025 08:28
@ken678
Copy link
Copy Markdown

ken678 commented May 6, 2025

@sentsim

原生效果
image
我想要的效果,也就以前版本的效果
image

目前2.11.1的现在的效果
image

sentsim added a commit that referenced this pull request Jun 18, 2025
* fix(form): 修复 select 组件的字符转义问题

* Update src/modules/form.js

Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>

---------

Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants