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-form-item-gi组件上设置 ref="itemRefEl" , itemRefEl.value.validate({ trigger: 'password-input' }) 不会正常工作 #1901

Closed
JobinJia opened this issue Dec 20, 2021 · 0 comments · Fixed by #1909
Labels
bug Something isn't working

Comments

@JobinJia
Copy link

TuSimple/naive-ui version (版本)

2.23.1

Vue version (Vue 版本)

3.2.26

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

version 96.0.4664.110 (x86_64)

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

MacOS(12.0.1)

Node version (Node 版本)

17.0.2

Reappearance link (重现链接)

https://codesandbox.io/s/sad-dawn-wtkh6?file=/src/Demo.vue

Reappearance steps (重现步骤)

  1. 输入密码值
    2.输入重复密码(保证跟密码一致,使其验证通过)
    3.再改变密码,不会触发重复密码的校验

Expected results (期望的结果)

在第三步的时候,由于密码改变,理应触发重复密码的校验

Actual results (实际的结果)

在第三步的时候,由于密码改变,并不会触发重复密码的校验

Remarks (补充说明)

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