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

偵測用戶 input 全形數字 #1000

Closed
arealclimber opened this issue Jul 12, 2023 · 4 comments · Fixed by #1449
Closed

偵測用戶 input 全形數字 #1000

arealclimber opened this issue Jul 12, 2023 · 4 comments · Fixed by #1449
Assignees
Labels
5 hard level 5 enhancement New feature or request

Comments

@arealclimber
Copy link
Member

arealclimber commented Jul 12, 2023

在下單區加入偵測全形數字然後能轉換成數字的功能,讓用戶不用切換輸入法就能下單

ref:

@arealclimber arealclimber changed the title 偵測用戶 input 輸入法 偵測用戶 input 全形數字 Jul 12, 2023
@arealclimber arealclimber self-assigned this Jul 13, 2023
@arealclimber arealclimber added enhancement New feature or request 5 hard level 5 labels Jul 13, 2023
@Julian0701 Julian0701 self-assigned this Nov 21, 2023
@Julian0701
Copy link
Member

@Julian0701
Copy link
Member

  • take 7 hrs
  • 目前沒有找到解法

@Julian0701
Copy link
Member

Julian0701 commented Nov 24, 2023

踩坑記錄

方法一:透過 keyCode 切換輸入的字元

參考來源:

失敗原因:keyCode 已被棄用

方法二:使用 ime-mode 攔截中文輸入

失敗原因:ime-mode 不支援 Chrome


替代方案

在 Trading Input 附近加上提醒用戶切換輸入法的文字

@arealclimber
Copy link
Member Author

@arealclimber arealclimber linked a pull request Jan 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 hard level 5 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants