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

SelectMainStyle.setSelectText方法无效 #2714

Closed
hao0917 opened this issue Jul 11, 2023 · 0 comments
Closed

SelectMainStyle.setSelectText方法无效 #2714

hao0917 opened this issue Jul 11, 2023 · 0 comments

Comments

@hao0917
Copy link

hao0917 commented Jul 11, 2023

Current use version?

当前使用的版本是多少?

**v3.11.1**

Will this problem occur in demo?

Demo能否复现这问题?

**可以**

Describe the problem or provide an error log?

描述问题或提供错误log?

SelectMainStyle.setSelectText()和SelectMainStyle.setSelectNormalText()方法自定义显示文本时无效,
原因是
当参数设为"%d/%d"时和StyleUtils.checkTextTwoFormatValidity()正则表达式不匹配
当设为"%1/%2"时StyleUtils.checkTextTwoFormatValidity()匹配但String.format()异常

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

2 participants