-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 Placeholder Capability #234
Comments
I second this. As an alternative or in addition to this, there should be a way to set the |
@snowdave86 @hhubik
|
@cagataycivici Could you provide this feature, I use autocomplete, simple input and dropdown controls on the same page and when controls don't have data, dropdown looks different without placeholder. For now, I use different dropdown control, but I don't want to have separate lib for this. Or, Do you have workaround for this? |
I'm confused do you use autocomplete with dropdown option enabled or using p-dropdown? |
I meant p-dropdown, because p-autoComplete has placeholder input. |
What is the problem with { label: 'Select X', value: '' }? Isn't it how it's done with a native select element as well? |
@cagataycivici Yes, it's how native element works. I will show what I mean. For example, very popular select2 library. This is demo. |
Got it, thanks for the pointer. I've added placeholder property for this functionality. |
Requesting new feature to be added to dropdown (placeholder capability). When using .push({ label: 'Select X', value: '' }); it will show the empty value option in the dropdown which is not true placeholder functionality.
The text was updated successfully, but these errors were encountered: