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

希望ant-select能支持像Input那样的prefix属性 #7406

Open
1 task
Ashuangshuang opened this issue Mar 6, 2024 · 4 comments
Open
1 task

希望ant-select能支持像Input那样的prefix属性 #7406

Ashuangshuang opened this issue Mar 6, 2024 · 4 comments

Comments

@Ashuangshuang
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

表单中的提示语label想放在ant-select边框内部,类似Input 配置prefix:"姓名"的效果。如果可以希望数据录入组件都能支持传入prefix

What does the proposed API look like?

支持prefix属性或插槽

@selicens
Copy link
Member

selicens commented Mar 6, 2024

a-select-option就能实现这个需求吧
image

@Ashuangshuang
Copy link
Author

a-select-option就能实现这个需求吧 image

想放在select框前面,不是option的前面

@selicens
Copy link
Member

selicens commented Mar 8, 2024

a-select-option就能实现这个需求吧 image

想放在select框前面,不是option的前面

明白了

@Ashuangshuang
Copy link
Author

a-select-option就能实现这个需求吧 image

想放在select框前面,不是option的前面

明白了
请问表单项可以支持这个功能吗?

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