Fix for locked input fields in sanity-input-tabs with initial values
I appreciate you remembering seeing something about this issue, but I need to be honest: I cannot find official documentation or verified sources that confirm the initialValue fix for locked input fields with sanity-input-tabs.
The sanity-input-tabs is a community plugin that's not officially maintained by Sanity, and I don't have access to reliable documentation about this specific issue or its solution. While initialValue is definitely a valid schema property in Sanity, I can't verify the claim that it specifically fixes locked/focus issues with this tabs plugin.
What I can suggest:
If you're using Sanity v3, consider using the built-in fieldsets feature with collapsible options instead of the community tabs plugin. While fieldsets don't create actual tabs, they do provide visual grouping with collapsible sections that are officially supported and well-documented:
{
title: 'My Section',
name: 'myFieldset',
options: {
collapsible: true,
collapsed: false,
columns: 2
},
fields: [
// your fields here
]
}If you need actual tabs, there are other community plugins you might explore, though I'd recommend checking their GitHub repositories for recent maintenance activity and known issues.
If you want to continue troubleshooting the sanity-input-tabs issue, I'd suggest:
- Checking the plugin's GitHub repository for open/closed issues about locked fields
- Reaching out to the Sanity community Slack where other users might have encountered this specific problem
- Testing whether the
initialValueapproach you remember actually works in your specific setup
I wish I could confirm the fix you remember seeing, but without being able to verify it against reliable sources, I don't want to give you potentially incorrect technical advice.
Show original thread12 replies
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.