-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What problem will this feature address?
Currently when creating new application and entering app name that ends with numbers, for example: postgres-18 validation blocks this name because of following regex
dokploy/apps/dokploy/components/dashboard/project/add-compose.tsx
Lines 52 to 60 in e77f276
| appName: z | |
| .string() | |
| .min(1, { | |
| message: "App name is required", | |
| }) | |
| .regex(/^[a-z](?!.*--)([a-z0-9-]*[a-z])?$/, { | |
| message: | |
| "App name supports lowercase letters, numbers, '-' and can only start and end letters, and does not support continuous '-'", | |
| }), |
Describe the solution you'd like
Expanding validation regex to allow ending with numbers
Describe alternatives you've considered
Additional context
No response
Will you send a PR to implement it?
Yes
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request