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
Custom field validation not being triggered #16319
Comments
Duplicate of #15899, and it is currently tracked in #14571. Technically custom field validation does work when it is being sent. For example when we set validation as "Description contains abc", it will trigger when we set Description as any string without "abc". However it will not trigger when we do not edit Description, so it was never "sent", which is the crux of #14571 👍 |
After looking into #14571, although Re-opening this to ensure this is still tracked 👍 |
I tried to reproduce it and i came to know the following
|
Linear: ENG-144 |
Is this issue now internal team issue ? or is it still available for us to debug @rijkvanzanten ? |
@bhagyesh-7span You're still free to debug this issue if you want 😄 We've just linked the open issues to our internal issue tracker for better internal planning/tracking |
Describe the Bug
I have a collection with a simple text field. I added a custom validation by editing the text field. It's a simple validation which just checks if the field is empty.
When I add a new item to the collection and leave the text box empty, no validation error is shown.
To Reproduce
see bug
Errors Shown
none
What version of Directus are you using?
9.20.4
What version of Node.js are you using?
v16.18.0
What database are you using?
postgres 15
What browser are you using?
chrome osx
How are you deploying Directus?
local
The text was updated successfully, but these errors were encountered: