smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Fields · Components

FieldPolicyControlPanel

Main-content tenant-admin destination for field defaults. The host supplies the SettingsCatalog shell and generated-client adapter, keeping this package independent of both smrt-svelte and smrt-web.

Public export

typescript
import { FieldPolicyControlPanel } from '@happyvertical/smrt-fields/svelte';
Import path
@happyvertical/smrt-fields/svelte
Props
9
Props described
1 of 9
Bindable state
0
Callback events
1
Verified release
0.62.10

Props

NameTypeRequiredDescription
dataFieldPolicySettingsCatalogDataYesNot described
adapterFieldPolicyControlPanelAdapterYesNot described
catalogComponent<FieldPolicyCatalogComponentProps>YesNot described
baseUrlstringYesNot described
permissionsreadonly string[]NoNot described
headingstringNoNot described
onchanged() => voidNoNot described
confirmAction(message: string) => boolean | Promise<boolean>NoNot described
suggestionAdapterFieldPolicySuggestionAdapterNoOptional reviewed-suggestion queue transport.

Bindable state

This component has no bindable public state.

Callback events

  • onchanged() => void

Examples and explanation