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

Simple [id] props support for [Select] component #9912

Closed
1 task done
kunsam opened this issue Apr 3, 2018 · 1 comment
Closed
1 task done

Simple [id] props support for [Select] component #9912

kunsam opened this issue Apr 3, 2018 · 1 comment
Labels

Comments

@kunsam
Copy link
Contributor

kunsam commented Apr 3, 2018

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

What problem does this feature solve?

I have a form with several select, i want to add an id for each select so that i can get this dom faster(not for css mainly but maybe a little useful).

I want to load other js script to do some job like demonstrating input something, the select is clicked and opened and an item is selected.

I also want implement a test that multiple selects was used in order(with animation not just set value)... so

I try write this: <Select id="xxx">... but not take effect.

ps: I know this doesn't important, i can do this by <Select className="xxx1">..., but i can know ur consideration for not using id props.

Thanks a lot

What does the proposed API look like?

<Select id="xxx'>... => <div id="xxx" class="ant-select ant-select-enabled">...

@ddcat1115
Copy link
Contributor

related: #8305 #8561

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

No branches or pull requests

3 participants