-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]-[300]:Default value is displayed on widget even when it is not available in drop-down options #12225
Comments
@dilippitchika Should we close this issue. |
@Tooluloope i think we should be smarter about this because it's causing frequent confusion. Here's my suggestion on how to fix this -
Let me know your thoughts |
So Conclusion here was to enable this defaultValue caching only when Serverside Filtering is enabled. But once Serverside filtering is false, we do a strict check to know if the default value is in the list of options, and Only the default values in options would be displayed. |
Stats
|
@techbhavin you can pick this up. @ashit-rath will be reviewing your code |
this issue is covered in PR#13079 |
QA NoteThe following should be tested in the PR
|
Adding my notes here for default value for testing- @Tooluloope @wmdev0808 @ashit-rath Default value with server side filtering OFF- Select widget
Default value with server side filtering ON - Select widget
|
@dilippitchika Just double-checking, this is also true for multi-select? |
@ashit-rath almost, but this is only for select. For multiselect, i will add more notes. |
@dilippitchika Please do consider all the Select family widgets just for the sake of future reference. |
@ashit-rath the challenge i see is with the CSV behavior in multiselect. I need some clarity there on what we are supporting currently in default values - @Tooluloope can you let me know? |
Adding my notes here for the part i am confident of for Multi select widget Default value with server side filtering OFF- MultiSelect widget
Default value with server side filtering ON- MultiSelect widget
Not considering CSV here, need discussion on that. |
@Tooluloope @vivekverma2312 I think this issue is linked to select default changes, please verify this and and link the PR here as well. |
fixed in #15133 |
Is there an existing issue for this?
Description
https://watch.screencastify.com/v/rTmvAKEDYT6lAqffXIXq
Steps To Reproduce
Public Sample App
No response
Version
Cloud
The text was updated successfully, but these errors were encountered: