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

Support for NULL #57

Closed
pnx opened this issue May 19, 2024 · 1 comment · Fixed by #110
Closed

Support for NULL #57

pnx opened this issue May 19, 2024 · 1 comment · Fixed by #110

Comments

@pnx
Copy link
Contributor

pnx commented May 19, 2024

Hi, Looks like there is no support for null.

for example:

image
image

email_verified_at is nullable. and user id 1 has is set to null. there are 2 issues with this:

  1. Shows as a empty string in the table. should maybe be shown as "(null)" with even another text color if possible.
  2. Unable to set a value to null on either an existing row or when creating a new row.

attaching a image to show what happens to a datetime when trying to set a empty value. this is maybe fine as an emtpy value is actually not null. it fails correctly i think.

image

however you can't set it to "null" as it is still a string.

image

I think the cleanest way to solve this is to have a keybind i cell edit mode (maybe Ctrl + N) that will set the column to null. What do you guys think?

@jorgerojas26
Copy link
Owner

This is being worked here #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants