shubham1811 opened a new issue, #24511: URL: https://github.com/apache/superset/issues/24511
How to reproduce the bug 1. Create a Filter Name **A** 2. Create a Filter Name **B** 3. Tick the checkbox the **Values are dependent on other filters** in Filter **B** and select **A** in **VALUES DEPENDENT ON** 4. Click on **Save** 5. Select some value in filter **A** 6. Data API call will be done for Filter **B** and the option will be updated. 7. Select some value in Filter **B**. For Example, Selected **Asia**. 8. Remove the Filter Value in Filter **A** and select some other option. 9. Data API call will be done for Filter **B** and the option will be updated. 10. In Option of Filter **B** previously selected will be present and it's not coming from the Result of Data(API Call). ### Expected results If The Previously selected value is not present in the result of the dependent filter API call it shouldn't be present in the option or in the selected state. ### Actual results The previously selected value if it's not present in the result of the dependent filter API call its showing in the option or its getting selected also. #### Screenshots [https://jam.dev/c/2e22ee9e-d1b2-48ba-a063-11dfe2584c8a](url) <img width="707" alt="Screenshot 2023-06-26 at 12 32 57 PM" src="https://github.com/apache/superset/assets/26042498/d883cc4d-6398-4274-a75b-1d9c0af31a88"> [https://jam.dev/c/54743133-2a1e-4d79-bfa4-30e0d8cdc95c](url) <img width="703" alt="Screenshot 2023-06-26 at 12 36 28 PM" src="https://github.com/apache/superset/assets/26042498/59f23b89-2321-4259-927b-e590d21367e2"> [https://jam.dev/c/bad93252-6c4c-4ade-bd7b-53108b245692](url) <img width="1427" alt="Screenshot 2023-06-26 at 12 40 19 PM" src="https://github.com/apache/superset/assets/26042498/9cf32efb-d06c-46b2-bf3f-96976141b79c"> [https://jam.dev/c/2e343713-d305-4b3d-b504-8c5d48b75647](url) <img width="820" alt="Screenshot 2023-06-26 at 12 41 34 PM" src="https://github.com/apache/superset/assets/26042498/a3698a39-cbb8-4708-93d1-19eabc8c1526"> [https://jam.dev/c/5f3fa04b-c25f-4ea9-9108-c1059a3f9caf](url) <img width="1431" alt="Screenshot 2023-06-26 at 12 44 10 PM" src="https://github.com/apache/superset/assets/26042498/0b00cd62-122d-46a6-bda0-4f72056d83cb"> https://jam.dev/c/c963fc06-e234-422e-85f5-60a8b7592574 <img width="815" alt="Screenshot 2023-06-26 at 12 46 59 PM" src="https://github.com/apache/superset/assets/26042498/3d1b878d-4b3e-45e7-bab2-5e3efcdb8520"> ### Environment (please complete the following information): - browser type and version: - superset version: `master ` - python version: `python --version` - node.js version: `16.15.0` - any feature flags active: ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [Yes] I have checked the superset logs for Python stack traces and included them here as text if there are any. - [Yes] I have reproduced the issue with at least the latest released version of the superset. - [Yes] I have checked the issue tracker for the same issue and I haven't found one similar. -- 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]
