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

n-input 组件的 input methods 再增加一个select 方法 #1328

Closed
xiangshaolong opened this issue Oct 11, 2021 · 2 comments · Fixed by #1622
Closed

n-input 组件的 input methods 再增加一个select 方法 #1328

xiangshaolong opened this issue Oct 11, 2021 · 2 comments · Fixed by #1622

Comments

@xiangshaolong
Copy link

This function solves the problem (这个功能解决的问题)

方便聚焦组件后直接选中全部内容

Expected API (期望的 API)

n-input 组件的 input methods 再增加一个select 方法 方便聚焦组件后直接选中全部内容

@github-actions github-actions bot added the feature request New feature or request label Oct 11, 2021
@Talljack
Copy link
Contributor

Talljack commented Nov 8, 2021

聚焦组件的方法可以用focus,focus有啥问题吗

@07akioni
Copy link
Collaborator

07akioni commented Nov 8, 2021

聚焦组件的方法可以用focus,focus有啥问题吗

他的意思是全选

07akioni added a commit that referenced this issue Nov 21, 2021
* feat(n-input):add select methods, closes #1328

* Update CHANGELOG.en-US.md

Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
07akioni pushed a commit that referenced this issue Dec 2, 2021
…x slot (#1714)

* feat(n-input):add select methods, closes #1328

* Feat(image):add canPreview,onLoad,loading,errorbox

* del(image) show errorBox tests

* feat(switch):add activeColor`&inactiveColor&activeButtonColor&inactiveButtonColor

Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants