Label filter shows "invalid value" warning until manually edited #160942
Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Confirming this is affecting our team as well. We have label filters using : in label names (e.g., t:on-hold) and see the "Invalid value" warning on every page load despite the filter working correctly. A few questions:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Feature Area
Projects
Body
I'm encountering an issue with the label filter on my project's page. I've saved filters in the past, including:
-label:"Framework updates"This worked fine until a recent update. Now, every time I open the project, I get a warning saying there's an "invalid value for label".
Strangely, the error disappears if I manually edit the filter — for example, I delete the last letter s and retype it. After this minor edit, the filter works again with no error until I revisit the page.
This suggests that the label is still valid, but GitHub's UI isn't parsing or validating it correctly on initial load — possibly due to caching or filter parsing changes introduced recently.
🔧 Reproduction steps:
Save a filter like -label:"Framework updates" in the project's view.
Reload the project page.
Observe the "invalid value for label" warning.
Edit the filter (e.g., delete and retype the final character).
Warning disappears.
Browser/Platform: Chrome
Grabacion.de.pantalla.2025-05-29.074820.mp4
Thanks for the great work — I appreciate the platform and would love to see this fixed!
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions