Comments (3)
The fix works, thank you again @binoy14
from sanity.
@WebShapedBiz sorry you are running into this, there are couple things happening here
- The console issue seems to be unrelated to the
initialValue
and it should be fixed in the upcoming release - For
date
field the initialValue needs to be just the date part of the ISOString so it would beinitialValue: new Date().toISOString().slice(0, 10)
and that should get rid of the red box you are seeing. This is currently not well documented and it should be fixed soon.
Let me know if this fixes your issue
from sanity.
Thank you very much @binoy14 for your time and effort. I'll check it and close this issue if all is good.
Cheers.
from sanity.
Related Issues (20)
- Introduce Selective CLI Logging Suppression
- How can I restrict access to resources only through my domain? HOT 2
- TypeGen not generating union type for string array with list option
- can't use `npx @sanity/cli init --template shopify` with the next.js embedded studio option
- On >3.41.0 dragging blocks in PTE gives "Can't upload this file here" error HOT 1
- TypeGen generates Array<never> for query using "in" HOT 1
- TypeGen generates Array<never> for query using chained parent operator
- Hang introduced by #5269, (a0f93cb) (fix included) HOT 3
- Typegen: Can't generate types with conditional values in slice and ordering operations even when the it doesn't effect the type. HOT 3
- All Studio UI menus broken/empty in Dev HOT 1
- Both new and legacy search don't work with documents with a custom title field
- Desk tool crash: editOpsOf does not expect a draft id HOT 1
- throw new Error("'block' type is not defined in this schema (required).");
- Cannot Paste Into Block Content in Mozilla HOT 1
- Provide HTML as a content type for rich text
- The structure tool crashed HOT 2
- connect EHOSTUNREACH 35.241.31.122:443 - sanity service fails (not secure) HOT 2
- TypeScript error importing @sanity/block-tools in Vercel serverless function
- Array: Add `pane` option `options.modal.type`
- TypeGen marks assets of images inside arrays as optional, even with `assetRequired()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanity.