You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no other issue that already describes my problem.
Describe the Bug
Nullable boolean fields can't be set to null again after they have been set to true or false through the boolean interface.
Allthough I'm fairly new to Directus, NodeJS and VueJS, I have a fix ready to solve this.
To Reproduce
add a nullable boolean field to a collection
add an item to the collection with the boolean set to null (this works)
notice that in the collection list the boolean value is set to 'false' (not supposed to happen)
check in the database to see the value of this boolean is in fact still 'null'
edit this collection item; notice the checkbox is set to 'false' not 'null' (not supposed to happen)
click to checkbox to set the value to 'true'. save the changes.
edit the item again and notice the value can't be set to 'null' again. Only 'true' or 'false' are available. (not supposed to happen)
What version of Directus are you using?
v9.0.0.rc94
What version of Node.js are you using?
v16.10.0
What database are you using?
MS SQL
What browser are you using?
Chrome
What operating system are you using?
Windows 10
How are you deploying Directus?
running locally
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
Nullable boolean fields can't be set to null again after they have been set to true or false through the boolean interface.
Allthough I'm fairly new to Directus, NodeJS and VueJS, I have a fix ready to solve this.
To Reproduce
What version of Directus are you using?
v9.0.0.rc94
What version of Node.js are you using?
v16.10.0
What database are you using?
MS SQL
What browser are you using?
Chrome
What operating system are you using?
Windows 10
How are you deploying Directus?
running locally
The text was updated successfully, but these errors were encountered: