You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on your image fields, if you want to allow both types of sources, you don't have to do anything because it will inherit this setting. if you only want from the computer use
options: {
sources: [] // empty array
}
this will allow custom uploads but it will not bring the "static array" aka the previously uploaded images. couldn't figure that part.
Describe the bug
I tried to disable the asset source for a specific schema following the
Manually configure asset sources
section in README but it is not working.To Reproduce
Steps to reproduce the behavior:
image
calledmovie-image
Expected behavior
movie-image
shouldn't have unsplash as in source dropdownWhich versions of Sanity are you using?
@sanity/cli (global) 3.29.1 (latest: 3.44.0)
@sanity/astro 3.0.0 (latest: 3.1.3)
@sanity/code-input 4.1.4 (up to date)
@sanity/vision 3.41.1 (latest: 3.44.0)
sanity 3.41.1 (latest: 3.44.0)
What operating system are you using?
Which versions of Node.js / npm are you running?
10.5.0
v20.11.0
Additional context
When I console log
schema.name
it returnsundefined
The text was updated successfully, but these errors were encountered: