apps/web: process/used-pl: add ( ) symbols to vin regex
This commit is contained in:
parent
47d47a0bfd
commit
f695835c61
@ -3,7 +3,7 @@ import ValuesSchema from '@/config/schema/values';
|
||||
import * as CRMTypes from '@/graphql/crm.types';
|
||||
import { z } from 'zod';
|
||||
|
||||
const vinRegex = /^[\dA-HJ-NPR-Za-hj-npr-z]+$/u;
|
||||
const vinRegex = /^[\dA-HJ-NPR-Za-hj-npr-z()]+$/u;
|
||||
|
||||
export function createValidationSchema({ apolloClient }: ValidationContext) {
|
||||
return ValuesSchema.pick({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user