Dropdown & MultiSelect: Disabled selected value #4431
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
There appears to be a discrepancy in this behaviour between
Dropdown
&MultiSelect
components. See demo in reproducer link.Rome
option is disabledDropdown
component, I have selectedRome
and this option does not get selectedMultiSelect
component, I have selectedNew York
&Rome
, both of these options are selectedI am not entirely sure what the correct behaviour should be, but either way it should be consistent. I can see this was tackled previously in: #3715 & #3541.
I think some users may prefer to see the disabled option selected, and some users may prefer the opposite. Perhaps a prop to control the behaviour could work?
Reproducer
https://stackblitz.com/edit/prncz5-sebdlg?file=src%2FApp.vue
PrimeVue version
3.32.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: