mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(template): add name validation for template name EE-1806 (#5823)
* add name validation for tempalte name
This commit is contained in:
parent
84e57cebc9
commit
661931d8b0
9 changed files with 49 additions and 5 deletions
|
@ -31,3 +31,4 @@ angular
|
|||
|
||||
export const PORTAINER_FADEOUT = 1500;
|
||||
export const STACK_NAME_VALIDATION_REGEX = '^[-_a-z0-9]+$';
|
||||
export const TEMPLATE_NAME_VALIDATION_REGEX = '^[-_a-z0-9]+$';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue