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

Bug: VbenForm中的handleValuesChange回调函数不生效 #5053

Closed
5 tasks done
fiorayang opened this issue Dec 6, 2024 · 4 comments · Fixed by #5060
Closed
5 tasks done

Bug: VbenForm中的handleValuesChange回调函数不生效 #5053

fiorayang opened this issue Dec 6, 2024 · 4 comments · Fixed by #5060
Assignees

Comments

@fiorayang
Copy link

fiorayang commented Dec 6, 2024

Version

Vben Admin V5

Describe the bug?

在vbenTable中 配置 搜索表单的 handleValuesChange函数 没有触发

Reproduction

const formOptions: VbenFormProps = {
handleValuesChange: (values) => {
console.log('formOptions.handleValuesChange', values);
},
};

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 87.39 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.0.0 - /usr/local/bin/node
    npm: 10.2.0 - /usr/local/bin/npm
    pnpm: 9.14.4 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.109
    Safari: 17.5

Relevant log output

No response

Validations

@fiorayang
Copy link
Author

源码中没找到相关代码,这部分是还是在开发中吗

@mynetfan
Copy link
Collaborator

mynetfan commented Dec 6, 2024

暂未提供

@fiorayang
Copy link
Author

暂未提供

好的,请问近期有加入这个能力的打算吗?目前解决方案除了手动绑定组件单个onChange事件外,有更好的办法吗?

@mynetfan
Copy link
Collaborator

mynetfan commented Dec 6, 2024

PR #5060

@mynetfan mynetfan self-assigned this Dec 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants