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

[comp:select] 下拉选择器在输入时鼠标失焦后输入内容被清空了 #1431

Closed
1 task done
danranVm opened this issue Jan 18, 2023 · 4 comments · Fixed by #1437
Closed
1 task done

[comp:select] 下拉选择器在输入时鼠标失焦后输入内容被清空了 #1431

danranVm opened this issue Jan 18, 2023 · 4 comments · Fixed by #1437
Labels
bug Something isn't working Comp:Select

Comments

@danranVm
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

image

Steps to reproduce

如上图在中文输入 -》 按回车键 -》输入框有内容 -》点击空白处失焦 -》 输入框内容被清

What is expected?

输入的内容不会被清空

What is actually happening?

输入时按了回车键情况下会被清空

Environment Info

Any additional comments? (optional)

@idux-bot
Copy link

idux-bot bot commented Jan 18, 2023

Translation of this issue:

[Comp: SELECT] Picking selectioner After the mouse is lost, the content is empty after the mouse is lost.

REPRODUCTION LINK

! [Image] (https://user-images.githubusercontent.com/25052421/21313120840-7c86e4-412F-b0B1-9Caea0db9.gif)

STEPS To Reproduce

As shown in the picture above in Chinese input- "Press Enter the Enterbits-" Enter the content- "Click to lose focus-" input box content is clear

What is exfected?

The input content will not be emptied

What is actually happy?

When you enter the car, you will be cleared when you press Enter the car

ENVIRONMENT Info

ANY Additional Comments? (Optional)

@danranVm danranVm added the bug Something isn't working label Jan 18, 2023
@danranVm danranVm removed their assignment Jan 18, 2023
@kovsu
Copy link
Member

kovsu commented Jan 25, 2023

select

@kovsu
Copy link
Member

kovsu commented Jan 25, 2023

你说的那个问题解决了😀

@kovsu
Copy link
Member

kovsu commented Jan 25, 2023

但是现在还有个问题就是,视频的后面。你可以看到我在修改值得时候丢失焦点,那里会出现闪屏(输入框值改变得时候会闪一下)。其实我的想法是如果输入得时候丢失焦点,值不改变。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Comp:Select
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants