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

radiogroup cannot update normally when an update is cancelled #5184

Closed
chenglu4343 opened this issue Aug 28, 2023 · 4 comments
Closed

radiogroup cannot update normally when an update is cancelled #5184

chenglu4343 opened this issue Aug 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@chenglu4343
Copy link
Contributor

TuSimple/naive-ui version (版本)

2.34.4

Vue version (Vue 版本)

3.3.4

Browser and its version (浏览器及其版本)

Chrome 116.0.5845.110

System and its version (系统及其版本)

windows10

Node version (Node 版本)

Reappearance link (重现链接)

https://stackblitz.com/edit/vitejs-vite-kvbywm?file=src%2Fcomponents%2FHelloWorld.vue

Reappearance steps (重现步骤)

Toggle radio and click OK to work

Switch radio, click cancel, then can not switch radiio normally

Expected results (期望的结果)

update:value After the event is triggered, the system works properly even if the value is not updated

Actual results (实际的结果)

update:value If the value is not changed synchronously after update:value, subsequent switchover cannot take effect

Remarks (补充说明)

@zhangjiajia123
Copy link

I'm having this problem too. Has the problem been solved?

@zhangjiajia123
Copy link

What should I do?

@chenglu4343
Copy link
Contributor Author

If you are in a hurry, you can choose to listen for the radio click event to change the value manually

@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Dec 20, 2023
@jahnli
Copy link
Collaborator

jahnli commented Oct 11, 2024

Looks like it's been repaired.

@jahnli jahnli closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants