kgabryje opened a new pull request #18963:
URL: https://github.com/apache/superset/pull/18963


   ### SUMMARY
   When user created a new filter with a default value, that value wasn't 
displayed in the filter in filters panel, but could be applied to charts. This 
PR fixes this issue.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   Before:
   
   
https://user-images.githubusercontent.com/15073128/155991441-b4c1291c-a701-4d4b-9ac0-49bc4a863f86.mov
   
   After:
   
   
https://user-images.githubusercontent.com/15073128/155991234-b1e81404-4812-4f7f-833a-4fefe1a9111e.mov
   
   ### TESTING INSTRUCTIONS
   1. Create a native filter with default value and save
   2. Verify that selected default value is displayed in the filter in filters 
panel
   3. Reload the page
   4. Verify that after reload the default value is still applied and visible 
in filter
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to