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

[Select] inputProps透传失效 #939

Closed
LuoCharlie opened this issue Jun 1, 2022 · 5 comments
Closed

[Select] inputProps透传失效 #939

LuoCharlie opened this issue Jun 1, 2022 · 5 comments
Labels
🏃🏻 in progress someone is handling

Comments

@LuoCharlie
Copy link

LuoCharlie commented Jun 1, 2022

重现链接

https://codesandbox.io/s/ylyfwx?file=/src/App.vue

重现步骤

传入了inputProps对象{ label: 'asdas', maxcharacter: 2 },选择器的输入框没有生效。同样传入popupProps对象{ placement: 'top' },选择器的下拉框位置到顶部了

期望结果

传入inputProps能够定义选择器的输入框

实际结果

传入inputProps没有任何效果

补充说明

在选择器文档的props里有inputProps,
image

在其详细类型定义里没有,类型定义链接如下:https://github.com/Tencent/tdesign-vue/blob/develop/src/select/type.ts

Environment Info
相关版本 0.41.6
框架版本 / 基础库版本 Vue(2.6.14)
系统、浏览器 MacOs(10.15.7 )、Chrome(100.0.4896.75)
Node版本
@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2022

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

@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2022

♥️ 有劳 @geff1991 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @LuoCharlie

@LuoCharlie
Copy link
Author

LuoCharlie commented Jun 1, 2022 via email

@geff1991
Copy link
Contributor

geff1991 commented Jun 2, 2022

你好,inputProps目前还没支持,(可能文档先定义了,select 正在进行selectInput的改造,完成后可以投传inputProps)
popupProps是支持的

@xiaosansiji
Copy link
Collaborator

已在 0.42.0 版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏃🏻 in progress someone is handling
Projects
None yet
Development

No branches or pull requests

4 participants