Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Hello
The falsy value for a boolean is not taking into account (on the
HasOne
)when editing a resource with anHasOne
relationship.Here is my field definition:
When the checkbox is unchecked, the value transmited is

0
but it should benull
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a resource with an HasOne relationship
Edit the resource, you should see the HasOne relationship bellow the resource. (Same as explained here #4470)
The relationship should have a Boolean field.
Define a falsy value different than 0 for the Boolean field.
Save the resource.
An error should appear
Beta Was this translation helpful? Give feedback.
All reactions