Skip to content
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

Closed
koksikus opened this issue Jan 19, 2023 · 8 comments
Assignees
Labels

Comments

@koksikus
Copy link

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

@github-actions
Copy link

Linear: ENG-523

@koksikus
Copy link
Author

koksikus commented Feb 6, 2023

Is this a bug, or am I wrong??

@rijkvanzanten
Copy link
Member

Is this a bug, or am I wrong??

Potentially, yeah! We haven't gotten around to reproducing this yet

@koksikus
Copy link
Author

koksikus commented Feb 14, 2023

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.

@koksikus
Copy link
Author

I'm very curious if I found a bug or it's my wrong setting 🤔😉

@rijkvanzanten
Copy link
Member

I think it's a bug :)

@Nitwel
Copy link
Member

Nitwel commented Oct 9, 2023

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.

@Nitwel Nitwel closed this as completed Oct 9, 2023
@koksikus
Copy link
Author

koksikus commented Oct 9, 2023

I confirm, it works in the latest version.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants