mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 09:29:39 +01:00
Select all/no participant for expenses (Fix #3)
This commit is contained in:
@@ -66,7 +66,7 @@ export const expenseFormSchema = z.object({
|
||||
paidBy: z.string({ required_error: 'You must select a participant.' }),
|
||||
paidFor: z
|
||||
.array(z.string())
|
||||
.min(1, 'The expense must be paid for at least 1 participant.'),
|
||||
.min(1, 'The expense must be paid for at least one participant.'),
|
||||
isReimbursement: z.boolean(),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user