s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Agents · Components

AgentScheduleForm

Form for creating or editing agent schedules

Public export

typescript
import { AgentScheduleForm } from '@happyvertical/smrt-agents/svelte';
Import path
@happyvertical/smrt-agents/svelte
Props
6
Props described
6 of 6
Bindable state
0
Callback events
2
Verified release
0.44.0

Props

NameTypeRequiredDescription
initialDataPartial<ScheduleFormData>NoInitial form data (for editing)
agentTypesstring[]NoAvailable agent types
onSubmit(data: ScheduleFormData) => voidNoSubmit callback
onCancel() => voidNoCancel callback
loadingbooleanNoLoading state
editModebooleanNoEdit mode

Bindable state

This component has no bindable public state.

Callback events

  • onSubmit(data: ScheduleFormData) => void
  • onCancel() => void

Examples and explanation