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

Color Picker component input update error #748

Closed
luckyAisen opened this issue Aug 1, 2021 · 0 comments · Fixed by #749
Closed

Color Picker component input update error #748

luckyAisen opened this issue Aug 1, 2021 · 0 comments · Fixed by #749
Labels
bug Something isn't working

Comments

@luckyAisen
Copy link
Contributor

TuSimple/naive-ui version (版本)

2.15.11

Vue version (Vue 版本)

3.1.0

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

Chrome(91.0.4472.77)

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

MacOS(11.5.1)

Node version (Node 版本)

12.13.0

Reappearance link (重现链接)

https://codesandbox.io/s/naive-ui-color-picker-component-input-update-error-nl6mn?file=/src/Demo.vue

Reappearance steps (重现步骤)

English (英文)

After modifying the input box in the component, the ![image](https://user-images.githubusercontent.com/19791710/127769506-02af8f46-694f-4169-92c0-e6f40a7115bb.png) parameter value is not updated in time (keep the last time always).

When modifying, the on-complete parameter value display parameter value will be the last modified value.

For example:

The default value is #000000FF, the first modification is #EED30AFF, and the on-complete parameter value is #000000FF.

The second modification is #E61010FF, and the on-complete parameter value is #EED30AFF.

Chinese (中文)

对组件中的输入框进行修改后,on-complete 参数 value 没有及时更新(依旧保持上一次的值)。

当在进行修改时,on-complete 参数 value 会是上一次修改的值。

例如:默认值为 #000000FF,第一次修改为 #EED30AFFon-complete 参数 value 的值为 #000000FF

第二次修改为 #E61010FFon-complete 参数 value 的值为 #EED30AFF

Expected results (期望的结果)

the on-complete parameter value is should be updated in time

on-complete 参数 value 应当及时更新

Actual results (实际的结果)

the on-complete parameter value is not updated in time

on-complete 参数 value 没有及时更新

Remarks (补充说明)

Color Picker component input update error

@github-actions github-actions bot added the untriaged need to sort label Aug 1, 2021
@Volankey Volankey added bug Something isn't working and removed untriaged need to sort labels Aug 2, 2021
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

Successfully merging a pull request may close this issue.

2 participants