diff --git a/packages/@sanity/vision/src/components/VisionGui.tsx b/packages/@sanity/vision/src/components/VisionGui.tsx index 37f38aac071e..cfdc1bb484f2 100644 --- a/packages/@sanity/vision/src/components/VisionGui.tsx +++ b/packages/@sanity/vision/src/components/VisionGui.tsx @@ -392,7 +392,7 @@ export class VisionGui extends React.PureComponent) { const apiVersion = evt.target.value - if (apiVersion === 'other') { + if (apiVersion?.toLowerCase() === 'other') { this.setState({customApiVersion: 'v'}, () => { this._customApiVersionElement.current?.focus() }) @@ -790,6 +790,7 @@ export class VisionGui extends React.PureComponent {/* @ts-expect-error: https://github.com/tomkp/react-split-pane/pull/819 */}