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

"Require value to be set" option not properly populated upon editing field #7551

Closed
3 tasks done
chrisbartley opened this issue Aug 23, 2021 · 3 comments
Closed
3 tasks done

Comments

@chrisbartley
Copy link
Contributor

Preflight Checklist

Describe the Bug

When editing a field, the "Require value to be set" option is always unchecked, regardless of its true state in directus_fields.

To Reproduce

Create a new table, then create a field with the "Require value to be set" option checked (see screenshot for table categories and field name). Save, then go back in and edit the field. The "Require value to be set" option is unchecked.

However, inspecting the field in the directus_fields table reveals that it is indeed saves as required (see second screenshot). It's merely the front end which isn't rendering the field as such.

image
image

What version of Directus are you using?

v9.0.0-rc.90

What version of Node.js are you using?

v14.17.5

What database are you using?

MySQL (Ver 14.14 Distrib 5.7.35, for Linux (x86_64))

What browser are you using?

Brave and Safari

What operating system are you using?

macOS

How are you deploying Directus?

running locally

@rijkvanzanten
Copy link
Member

Duplicate of #7356

@chrisbartley
Copy link
Contributor Author

Heck, sorry. I swear I'm searching for dupes before posting. I guess I need to up my search skills 🤦‍♂️

@rijkvanzanten
Copy link
Member

@chrisbartley No problem! Definitely helps if you've read every issue on this repo at least once (I have an unfair advantage when it comes to finding duplicates 😉 )

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

No branches or pull requests

2 participants