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
Hi, and thanks for the great packages - they've made it much easier to build a great Sanity Studio experience 馃檶
I've ran into an issue using the defineSection helper, where the initialValue of a field is not respected. It's probably easiest to explain with a video:
Screen.Recording.2024-06-05.at.11.54.44.mov
Here I'm using a "media" schema type I've defined, that sets some default values. They work fine when added directly to the document (using the defineField Sanity helper), but when they're using the same helper within a section, it doesn't set the default values.
Any idea what might be causing this or what I can do to fix it? Appreciate any help 馃檶
The text was updated successfully, but these errors were encountered:
Hi, and thanks for the great packages - they've made it much easier to build a great Sanity Studio experience 馃檶
I've ran into an issue using the defineSection helper, where the initialValue of a field is not respected. It's probably easiest to explain with a video:
Screen.Recording.2024-06-05.at.11.54.44.mov
Here I'm using a "media" schema type I've defined, that sets some default values. They work fine when added directly to the document (using the defineField Sanity helper), but when they're using the same helper within a section, it doesn't set the default values.
Any idea what might be causing this or what I can do to fix it? Appreciate any help 馃檶
The text was updated successfully, but these errors were encountered: