Add pattern: { regex: RegExp; message?: string }
to validation options in fields.text
and fields.slug
#3549
Annotations
2 errors and 6 warnings
TypeScript:
docs/src/components/fields/text.tsx#L12
Property 'pattern' is missing in type '{ autoFocus: false; description: undefined; forceValidation: false; label: string; max: number; min: number; multiline: true; onChange: Dispatch<SetStateAction<string>>; value: string; }' but required in type '{ multiline: boolean; label: string; description: string | undefined; min: number; max: number; pattern: { regex: RegExp; message?: string | undefined; } | undefined; }'.
|
TypeScript
Process completed with exit code 1.
|
TypeScript
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Linting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Linting:
design-system/pkg/src/toast/test/Toast.test.tsx#L117
Some tests seem to be commented
|
Tests (2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests (1)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|