This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit 13b6068295b52d4ddcf7647416b1ab28cd9a839b Author: Marat Gubaidullin <[email protected]> AuthorDate: Wed Jun 19 17:17:39 2024 -0400 Fix #1324 --- karavan-app/src/main/webui/src/project/files/CreateIntegrationModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karavan-app/src/main/webui/src/project/files/CreateIntegrationModal.tsx b/karavan-app/src/main/webui/src/project/files/CreateIntegrationModal.tsx index c6a91b0d..8c06de35 100644 --- a/karavan-app/src/main/webui/src/project/files/CreateIntegrationModal.tsx +++ b/karavan-app/src/main/webui/src/project/files/CreateIntegrationModal.tsx @@ -156,7 +156,7 @@ export function CreateIntegrationModal() { })} </ToggleGroup> </FormGroup>} - {getTextFieldSuffix('name', 'Name', getFileSuffix(), true, { + {getTextFieldSuffix('name', 'Name', getFileSuffix(), { regex: v => isValidFileName(v) || 'Only characters, numbers and dashes allowed', length: v => v.length > 3 || 'File name should be longer that 3 characters', name: v => !['templates', 'kamelets', 'karavan'].includes(v) || "'templates', 'kamelets', 'karavan' can't be used as project",
