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
When creating a record, the condition for the readonly field outside the group does not work #17242
Comments
Linear: ENG-523 |
Is this a bug, or am I wrong?? |
Potentially, yeah! We haven't gotten around to reproducing this yet |
I checked it again and the field cannot be in any group. If it is in it, the condition does not work when creating the record. |
I'm very curious if I found a bug or it's my wrong setting 🤔😉 |
I think it's a bug :) |
I was not able to reproduce this on the latest version, could you (@koksikus) check again if this is still an problem for you on the latest version? I'm gonna close this for now but in case this is still not fixed for you, we're gonna open this issue again. |
I confirm, it works in the latest version. |
Describe the Bug
When creating a record, the condition for the readonly field outside the group does not work.
Disable.edit.mp4
As seen in the video. The main thing is that this only happens when creating a new record. When the record is already saved, the condition always works. When creating a new record, if the field to which the condition applies is in the same group, it works, just move it outside the group and, unfortunately, it does not work anymore.
To Reproduce
Create a condition, considering a field outside the group. Condition for a read-only field.
When creating a record, see if you can edit this field.
Errors Shown
No response
What version of Directus are you using?
9.22.4
What version of Node.js are you using?
16.18.1
What database are you using?
MS SQL or MySQL
What browser are you using?
Edge
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered: