Skip to main content
InspectorComponentProps
NameTypeDescription
autoCommit?booleanWhether or not to auto commit changes on blur or enter keypress. Defaults to true.
className?stringOptional class name to set on the component's root element.
current?Base | nullA $state ref that the inspector will apply 2-way binding to. Since 1.2.0 this is the preferred way to use an inspector, as it reduces the amount of boilerplate you need to configure.
filter?(obj:Base) => booleanOptional filter function that you can supply if you want to ignore certain objects in your dataset.
multipleSelections?booleanWhether or not to allow multiple objects to be selected and edited at once.
Defaults to false.
refresh?(obj:Base) => voidCallback invoked when a new object has started to be edited.
style?stringOptional style to set on the component's root element.