Nullable Boolean and DateTimeBoolean field #4537
Unanswered
ziming
asked this question in
Ideas & Feature Requests
Replies: 2 comments 3 replies
-
|
Boolean fields are designed to display the content from a boolean column type. There are several ways to get the same functionality from that package inside of Nova yourself. If you can let us know a little more about what you're trying to do we can suggest options to help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
but boolean field which is populated with null from the db (nullable column), evaluates to false, and display a red circle. making this boolean field filterable, behaves inconsistent |
Beta Was this translation helpful? Give feedback.
3 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I think these 2 types of boolean field will be very helpful
Nullable Boolean Field
It will be useful if we can set a boolean field value to true, false or null (unknown), as for how it looks like in the index and detail view, I guess it can be a Grey Circle with no X or Tick inside. like this O
Datetime Boolean Field
Back in Nova 2 or 1 there is this very popular Datetime Boolean 3rd party package that is no longer maintained
https://github.com/antonioribeiro/nova-boolean-datetime-field
In index view, it's like boolean field, in edit view it appears like datetime field then in detail view it shows the boolean circle and the datetime beside it.
Beta Was this translation helpful? Give feedback.
All reactions