Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/app-todo/src/objects/task.object.ts
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
import { P, tmpl } from '@objectstack/spec';
import { P } from '@objectstack/spec';
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.

import { ObjectSchema, Field } from '@objectstack/spec/data';
Expand DownExpand Up@@ -180,7 +180,7 @@ export const Task = ObjectSchema.create({
{ fields: ['category'] },
],

titleFormat: tmpl`{{record.subject}}`,
nameField: 'subject',
compactLayout: ['subject', 'status', 'priority', 'due_date', 'owner'],

validations: [
Expand Down