mirror of
https://codeberg.org/MarkusThielker/finances.git
synced 2025-07-07 13:09:18 +00:00
N-FIN-42: add default category selection to form
This commit is contained in:
parent
228aa983e0
commit
715ce17e1f
4 changed files with 34 additions and 2 deletions
|
@ -5,4 +5,5 @@ export const entityFormSchema = z.object({
|
|||
id: z.number().positive().optional(),
|
||||
name: z.string().min(1).max(32),
|
||||
type: z.nativeEnum(EntityType),
|
||||
defaultCategoryId: z.number().positive().optional(),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue