Sanity Library Reference Docs
Preparing search index...
sanity
index
ObjectFieldProps
Interface ObjectFieldProps<T>
Hidden
interface
ObjectFieldProps
<
T
=
Record
<
string
,
unknown
>
>
{
actions
?:
DocumentFieldAction
[]
;
changed
:
boolean
;
children
:
ReactNode
;
collapsed
?:
boolean
;
collapsible
?:
boolean
;
description
:
string
;
index
:
number
;
inputId
:
string
;
inputProps
:
ObjectInputProps
<
T
>
;
level
:
number
;
name
:
string
;
onClose
:
()
=>
void
;
onCollapse
:
()
=>
void
;
onExpand
:
()
=>
void
;
onOpen
:
()
=>
void
;
open
:
boolean
;
path
:
Path
;
presence
:
FormNodePresence
[]
;
renderDefault
:
(
props
:
FieldProps
)
=>
Element
;
schemaType
:
ObjectSchemaType
;
title
:
string
;
validation
:
FormNodeValidation
[]
;
value
:
T
;
version
?:
string
;
}
Type Parameters
T
=
Record
<
string
,
unknown
>
Hierarchy (
View Summary
)
BaseFieldProps
ObjectFieldProps
Index
Properties
actions?
changed
children
collapsed?
collapsible?
description
index
input
Id
input
Props
level
name
on
Close
on
Collapse
on
Expand
on
Open
open
path
presence
render
Default
schema
Type
title
validation
value
version?
Properties
Optional
Beta
actions
actions
?:
DocumentFieldAction
[]
changed
changed
:
boolean
children
children
:
ReactNode
Optional
collapsed
collapsed
?:
boolean
Optional
collapsible
collapsible
?:
boolean
description
description
:
string
index
index
:
number
input
Id
inputId
:
string
input
Props
inputProps
:
ObjectInputProps
<
T
>
level
level
:
number
name
name
:
string
on
Close
onClose
:
()
=>
void
on
Collapse
onCollapse
:
()
=>
void
on
Expand
onExpand
:
()
=>
void
on
Open
onOpen
:
()
=>
void
open
open
:
boolean
path
path
:
Path
Beta
presence
presence
:
FormNodePresence
[]
Hidden
render
Default
renderDefault
:
(
props
:
FieldProps
)
=>
Element
schema
Type
schemaType
:
ObjectSchemaType
title
title
:
string
validation
validation
:
FormNodeValidation
[]
value
value
:
T
Optional
version
version
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
actions
changed
children
collapsed
collapsible
description
index
input
Id
input
Props
level
name
on
Close
on
Collapse
on
Expand
on
Open
open
path
presence
render
Default
schema
Type
title
validation
value
version
Sanity Library Reference Docs
Loading...
Hidden