anait-lama opened a new issue, #23930: URL: https://github.com/apache/superset/issues/23930
#### How to reproduce the bug 1. Open any dashboard with filter 2. Copy filter value from word/notepad wth ending space 3. Paste the value in the filter and apply the filter 4. The filter will not work ### Expected results Filter should show not allow to use the value that is not in the list of its predefined values. ### Actual results The filter doesn't work #### Screenshots Copy-paste filter value without the space: <img width="540" alt="image" src="https://user-images.githubusercontent.com/85498360/236179660-5b3c67c5-7826-470e-9315-b3ef5643a662.png"> Copy-paste filter value with the space: <img width="558" alt="image" src="https://user-images.githubusercontent.com/85498360/236179886-76029a07-3034-4f57-963e-73e5554f4827.png"> ### Environment (please complete the following information): - browser type and version: Chrome 112.0.5615.138 - superset version: 2.10 ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [ ] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Add any other context about the problem here. -- 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]
