Tencent / Tencent/tdesign-miniprogram

[otp] 验证码 输入框

Open
#3,988 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💪🏻 enhancement
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

这个功能解决了什么问题

无论是 B 端还是 C 端,验证码输入都已经是极其常见的业务场景。因此建议 TDesign 在桌面端和移动端新增一个 t-input-otp(One Time Password)组件。

你建议的方案是什么
Image

此外,可以参考同类实现:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named. Start by reviewing the existing desktop and mobile input components and the linked Arco Design and Semi Design examples, then define the API, interaction behavior, and platform scope for a complete t-input-otp component.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.