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
Be able to set null for date input #5777
Comments
Node.js version: 13.7 You are on an unsupported node version, please test on node 12/10. |
Thank you @locopati for reporting this issue. |
I think this works now, so the issue could be closed. At least I was not able to reproduce it. |
This error still exist with MongDB. |
Just encountered same issue, don't know if that's DB related though we're using MongoDB. Trying to unset date field via admin UI, finding no way. |
This error still exist with PostgreSQL. |
Any changes? |
This issue has been mentioned on Strapi Community. There might be relevant details there: |
Ran into this issue today.
|
This issue will be fired when you POST formData. Content type has a non-required field, which type is 'date'.
|
Did anyone find a workaround in postresql? |
today I got same problem. |
I think this issue should still opened because we still couldn't set date input to null by |
Thats why i moved on... How many years to set a field to null?
Em sex., 6 de out. de 2023 05:44, Yohanes Candrajaya <
***@***.***> escreveu:
… I think this issue should still opened because we still couldn't set date
input to null by null value
—
Reply to this email directly, view it on GitHub
<#5777 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK3QPBZUKUH7T2JIOBRGW3X57AH7AVCNFSM4MGUB3TKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGAZDCMRWGM4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Im facing the same issue has anybody solved it ? |
Describe the bug
I want to clear the date that was set on a field
Steps to reproduce the behavior
Expected behavior
You can clear the field in the UI
The GraphQL mutation works
Code snippets
This returns
"message": "Expected type Date, found \"\"; Date cannot represent an invalid date-string ."
System
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: