Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(verification-code): fix formatter not being applied during paste #3110

Merged
merged 1 commit into from May 10, 2024

Conversation

oljc
Copy link
Member

@oljc oljc commented Apr 30, 2024

Types of changes

  • New feature
  • Bug fix
  • Enhancement
  • Component style change
  • Typescript definition change
  • Documentation change
  • Coding style change
  • Refactoring
  • Test cases
  • Continuous integration
  • Breaking change
  • Others

Background and context

设置了 formatter 时粘贴文本没有执行格式化处理

Solution

  1. 修复粘贴没有执行格式化回调
  2. 优化当返回 true 时使用原值,防止格式化返回的值是多个每次只拿一个字符串

How is the change tested?

Changelog

Component Changelog(CN) Changelog(EN) Related issues
verification-code 修复粘贴时formatter未生效 fix formatter not being applied during paste

Checklist:

  • Test suite passes (npm run test)
  • Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
  • Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
    should be submitted to main branch)

Other information

Copy link

codesandbox bot commented Apr 30, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@flsion flsion added the type: 🐞 bug Something isn't working label May 10, 2024
@flsion flsion added this to the 2.55.2 milestone May 10, 2024
@flsion flsion merged commit 5aa887c into arco-design:main May 10, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants