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

设置控件属性:deletable 后出现问题 #595

Closed
nakuYK opened this issue May 22, 2024 · 4 comments
Closed

设置控件属性:deletable 后出现问题 #595

nakuYK opened this issue May 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@nakuYK
Copy link

nakuYK commented May 22, 2024

          @Hufe921 设置控件属性:deletable 后,设置控件值会保留控件内的原来的值,当聚焦控件时又是替换原来的值

Originally posted by @nakuYK in #553 (comment)

@Hufe921
Copy link
Owner

Hufe921 commented May 22, 2024

如何复现

@nakuYK
Copy link
Author

nakuYK commented May 22, 2024

如何复现
文本控件设置属性 deletable:true,
调用 editor.command.executeSetControlValue() 修改控件值,聚焦控件和不聚焦效果不一致

@Hufe921
Copy link
Owner

Hufe921 commented May 22, 2024

无法复现,请确认版本或提供最小可复现demo地址

@nakuYK
Copy link
Author

nakuYK commented May 23, 2024

无法复现,请确认版本或提供最小可复现demo地址

搞错了,是设置为 deletable:false ,看控制台,执行executeSetControlValue() 会保留原有值,当聚焦于控件时,又不保留了
image

@Hufe921 Hufe921 added the bug Something isn't working label May 23, 2024
@Hufe921 Hufe921 closed this as completed May 23, 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

2 participants