-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control doesn't set language #47
Comments
This issue should be renamed. A more relevant title is: Language Property Doesn't Set Default LanguageSummaryThe language property as indicated in the ReadMe does not set the default language in Sanity, it only appears to affect the UI of the Structure editor.
The evidence of this is that if you add a validation rule ensuring the language isn't blank, you'll find the rule triggers an error.
End User Workaround
Dev WorkaroundIf you don't want your end users to have to select a different language and then select the one they actually wanted. You could just add a blank option and keep that at the top. Then your users will always have to select the correct language which will
|
The code input control doesn't set the selected language in the published json coming out of sanity. The v2 version does.
The text was updated successfully, but these errors were encountered: