RecordForm
A form component for editing a single record with automatic mutation. Features: - Automatic save on change via `useUpdateRecord` - Optimistic updates with rollback on error - Query cache invalidation on success - Configurable icon rendering and placeholders
A form component for editing a single record with automatic mutation.
Features:
- Automatic save on change via
useUpdateRecord - Optimistic updates with rollback on error
- Query cache invalidation on success
- Configurable icon rendering and placeholders
Signature
({ recordId, object, defaultValues, onChange, onValuesChange, onRecordUpdated, groups, placeholder: placeholderProp, onRelationClick, onNavigate, className, style, onAddAttribute, onReorderFields, onReorderGroups, onMoveFieldToGroup, onGroupLabelChange, onRemoveField, onRemoveGroup, onAddField, onAddGroup, onGroupSelect, readOnly, }: RecordFormProps): ElementExamples
```tsx
<RecordForm
recordId={contact.id}
object={contactObject}
defaultValues={contact.values}
groups={viewDefinition.tabs[0].groups}
onValuesChange={(values) => console.log("Values changed:", values)}
/>RecordEditView
A complete record edit view with tabs and content. Features: - Tab system (form, table, activity, notes, custom) - Custom tab renderers via `customTabRenderers` prop - Delete action
RecordsView
Records list/kanban view driven by a ListViewDefinition + active tab. The `listView` prop provides view metadata and base defaultFilters. The `activeTab` prop is the source of truth for layout, columns, filters, sorts, columnSizing, and groupByAttribute.