diff --git a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/CrossDatasetReferenceInput.tsx b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/CrossDatasetReferenceInput.tsx index 4a3c9da6541..bea91ae6606 100644 --- a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/CrossDatasetReferenceInput.tsx +++ b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/CrossDatasetReferenceInput.tsx @@ -294,7 +294,7 @@ export function CrossDatasetReferenceInput(props: CrossDatasetReferenceInputProp hit: hit, }))} onFocus={handleAutocompleteFocus} - radius={1} + radius={2} placeholder={t('inputs.reference.search-placeholder')} onKeyDown={handleAutocompleteKeyDown} readOnly={readOnly} diff --git a/packages/sanity/src/core/form/inputs/ObjectInput/UnknownFields.tsx b/packages/sanity/src/core/form/inputs/ObjectInput/UnknownFields.tsx index abab8e63a0f..6d736eac214 100644 --- a/packages/sanity/src/core/form/inputs/ObjectInput/UnknownFields.tsx +++ b/packages/sanity/src/core/form/inputs/ObjectInput/UnknownFields.tsx @@ -86,24 +86,27 @@ function UnknownField({ const {t} = useTranslation() return ( - - - - - {fieldName} - - - {JSON.stringify(value, null, 2)} - - + + + {fieldName} + + + + + {JSON.stringify(value, null, 2)} + + - {readOnly && ( + {readOnly && ( + - )} + + )} - {!readOnly && ( + {!readOnly && ( +