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

设置控件id滚动无效 #700

Closed
zhuyihe opened this issue Jul 17, 2024 · 4 comments
Closed

设置控件id滚动无效 #700

zhuyihe opened this issue Jul 17, 2024 · 4 comments

Comments

@zhuyihe
Copy link

zhuyihe commented Jul 17, 2024

version

0.9.86

Link to minimal reproduction

No response

Steps to reproduce

#592
设置controlId无效,重新将controlId赋值
image

What is expected?

控件能传入controlId

What is actually happening?

controlId设置无效

System Info

No response

Any additional comments?

No response

@Hufe921
Copy link
Owner

Hufe921 commented Jul 17, 2024

接口调用是否由事件(如点击)触发

@zhuyihe
Copy link
Author

zhuyihe commented Jul 18, 2024

接口调用是否由事件(如点击)触发

对,由点击事件触发
image

这边传入了controlId
image

但是在渲染文字的时候将控件拆分,controlId又随机生成了,导致无法定位
image

@Hufe921
Copy link
Owner

Hufe921 commented Jul 18, 2024

通过getControlList或getValue获取内部控件id后再执行定位

@Hufe921 Hufe921 closed this as completed Jul 18, 2024
@zhuyihe
Copy link
Author

zhuyihe commented Jul 18, 2024

通过getControlList或getValue获取内部控件id后再执行定位

不能主动设置吗?比如我要传入固定的id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants