Setting an input name with a dash generates an invalid Zod form schema

using dash in names will generates:
const formSchema = z.object({
map - name: z.string().min(1),
map - farm: z.string(),
map - vehicle: z.string(),
map - files: z.string()
});
I think the name input in the builder UI shouldn't allow dashes or should just replace them with underlines.