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

[RangeInput] clearable="true"搭配 v-model 使用时,清空图标不能正常显示 #4451

Closed
wilonjiang opened this issue Jul 30, 2024 · 2 comments
Labels
to be published to be published

Comments

@wilonjiang
Copy link
Contributor

tdesign-vue-next 版本

1.9.8

重现链接

https://stackblitz.com/edit/9xihcy?file=src%2Fdemo.vue

重现步骤

使用 v-model 声明绑定变量
设置 clearable="true"
RangeInput 组件无法正常显示清空图标

期望结果

使用 v-model 声明绑定变量
设置 clearable="true"
RangeInput 组件正常显示清空图标

实际结果

使用 v-model 声明绑定变量
设置 clearable="true"
RangeInput 组件不显示清空图标

框架版本

vue3.2.47

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @wilonjiang,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@chouchouji
Copy link
Contributor

image

代码写的有问题,是否显示清除icon的前提是 suffixicon 必须有值
image

@uyarn uyarn added the to be published to be published label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published to be published
Projects
None yet
Development

No branches or pull requests

4 participants