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

[新功能需求] MessageBox Prompt 弹框希望可以自动聚焦 #876

Open
aboutZZ opened this issue Feb 4, 2025 · 0 comments
Open

[新功能需求] MessageBox Prompt 弹框希望可以自动聚焦 #876

aboutZZ opened this issue Feb 4, 2025 · 0 comments
Labels
feature: need confirm 待确认的新特性

Comments

@aboutZZ
Copy link

aboutZZ commented Feb 4, 2025

这个功能解决了什么问题?

当调用 Prompt 弹框让用户输入时,希望可以自动聚焦到文本框,弹出输入法

你期望的 API 是什么样子的?

message.prompt({
      title: '请输入姓名',
      autoFocus: true, // 设置自动聚焦
      inputValue: name.value
})
@aboutZZ aboutZZ added the feature: need confirm 待确认的新特性 label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: need confirm 待确认的新特性
Projects
None yet
Development

No branches or pull requests

1 participant