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

🐛[BUG]ProFormMoney组件如果设置了customSymbol为A$或者AU$,输入框输入金额会被裁切 #8402

Open
a295470799 opened this issue May 10, 2024 · 0 comments

Comments

@a295470799
Copy link

🐛 bug 描述

ProFormMoney组件中如果设置了customSymbol, 如果是单个$则正常,如果$前面有字符则会出现bug, 输入的金额会被裁切,只能输入一个字符

📷 复现步骤

20240510155247_rec_

💻 复现代码

<ProFormMoney
name="base_origin_price"
label="Base origin price"
min={0.01}
rules={[{ required: true }]}
customSymbol={"AU$"}
/>

© 版本信息

  • ProComponents 版本: [2.6.50]
  • umi 版本 4.0.1
  • 浏览器环境 Chrome 122.0.6261.129
  • 开发环境 [Windows 10]

🚑 其他信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant