0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

fix: add back textField multiline

This commit is contained in:
bholmesdev 2024-02-08 16:56:35 -05:00
parent f32bff3563
commit 05e7e0f2dd

View file

@ -64,6 +64,7 @@ const textFieldBaseSchema = baseFieldSchema
.omit({ optional: true })
.extend({
default: z.union([z.string(), z.instanceof(SQL<any>)]).optional(),
multiline: z.boolean().optional(),
})
.and(
z.union([