Skip to content

Commit

Permalink
fixed options
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-honig committed Apr 27, 2024
1 parent 37c9c35 commit f06bae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/shadcn-react-table/src/model/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ export class Task {
validate: Validators.required,
})
title = ''
@Fields.literal(() => statusOptions, {
@Fields.literal(() => labelOptions, {
validate: Validators.required,
displayValue: (_, value) => capitalize(value),
})
label: Label = 'bug'
@Fields.literal(() => priorityOptions, {
@Fields.literal(() => statusOptions, {
validate: Validators.required,
displayValue: (_, value) => capitalize(value),
})
status: Status = 'todo'
@Fields.literal(() => labelOptions, {
@Fields.literal(() => priorityOptions, {
validate: Validators.required,
displayValue: (_, value) => capitalize(value),
})
Expand Down

0 comments on commit f06bae4

Please sign in to comment.