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

Add a property "inputId" in p-dropdown #6602

Closed
StephaneG31 opened this issue Oct 1, 2018 · 0 comments
Closed

Add a property "inputId" in p-dropdown #6602

StephaneG31 opened this issue Oct 1, 2018 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@StephaneG31
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
When using a p-dropdown, select tag doesn't have an attribute "id"

Expected behavior
When using a p-dropwn, select tag have an "id" =>
<select [attr.id]="selectId"...
InputId cannot be used because its' already used for the hidden input.

What is the motivation / use case for changing the behavior?
We use some automatic test (like Robot Framework with selenium) and there's some libs that can extract the options list for a select but we have to put in input an id.
Then it's a best pratice that all the "input tag" (select is an "input") can have an id

@cagataycivici cagataycivici added this to the 6.1.5 milestone Oct 8, 2018
@cagataycivici cagataycivici changed the title Add a property "selectId" in p-dropdown Add a property "inputId" in p-dropdown Oct 11, 2018
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants