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

DropDown: open even if disabled #12973

Closed
ikiliki opened this issue May 1, 2023 · 2 comments
Closed

DropDown: open even if disabled #12973

ikiliki opened this issue May 1, 2023 · 2 comments
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request

Comments

@ikiliki
Copy link

ikiliki commented May 1, 2023

Describe the feature you would like to see added

I would like to be able to open the dropdown even if it is disabled.

Is your feature request related to a problem?

No response

Describe the solution you'd like

Add a boolean input that allows this behavior

Describe alternatives you have considered

No response

Additional context

No response

@ikiliki ikiliki added Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request labels May 1, 2023
@ikiliki ikiliki changed the title Component: p-dropDown DropDown: open even if disabled May 1, 2023
@mbenrey
Copy link

mbenrey commented May 1, 2023

The problem is even worse with the multiselect component in readonly mode when there are multiple selected options.
Users may only see the beginning of the list because the dropdown might be too small, which prevents them from viewing their selections.
To solve this issue, users should be able to open the dropdown in disable mode and view the options without making any changes.

image

@mertsincan
Copy link
Member

Unfortunately, we can't add the disabled behavior @ikiliki requested. But, @mbenrey yes this may be a bug. Could you please create a Github issue? When HTML select element has readonly attribute, it opens its panel.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants