Mario Bellido
Mario Bellido
I am having this same issue reported by users on my site and I also cannot test on an iOS device to fully understand what's causing it. The gist of...
The idea is to define the object somewhere else so it is reusable and then being able to give it initial values each time it is referenced. Like so: ```js...
> the goal of this package is to be as close to just defining the same schema while being typed and producing document types That's the issue, though. I'm trying...
Okay! That solves part of the issue. For some reason, intellisense refuses to suggest `initialValue` inside the field definition but once I add it it does work! I thought the...
Personally I don't think `.ref()` is that bad. It's still a reference of some sort, even if the name overlaps with Sanity as long as the documentation is good there...
Keep in mind there's still the issue about the one missing feature ```js type: s.array({ of: [ { type: ctaType.ref(), initialValue: { hideColor: true }, }, whateverType.ref() ], }), ```...