This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch add-reactive-forms-fix
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit b73159ad0243633f27796e6c6c256dbdf6b77713
Author: Dominik Riemer <[email protected]>
AuthorDate: Wed May 21 23:22:26 2025 +0200

    Revert "Resolve merge conflicts"
    
    This reverts commit 3603ff1ce6564c0b55caa4390d7badacfa8c7f90, reversing
    changes made to 7592ba63af09d95f02f84484e6540b9d404eee63.
---
 .../core-ui/static-properties/input.validator.ts    | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/ui/src/app/core-ui/static-properties/input.validator.ts 
b/ui/src/app/core-ui/static-properties/input.validator.ts
index 91e30b8744..a728d4a52e 100644
--- a/ui/src/app/core-ui/static-properties/input.validator.ts
+++ b/ui/src/app/core-ui/static-properties/input.validator.ts
@@ -64,24 +64,3 @@ export function checkForDuplicatesValidator(
         return isDuplicate ? { forbiddenName: { value: control.value } } : 
null;
     };
 }
-
-export function ValidateName(): ValidatorFn {
-    return (control: AbstractControl): ValidationErrors | null => {
-        const value = control.value;
-
-        if (value == null) {
-            return null;
-        }
-
-        const trimmed = value.trim();
-
-        if (trimmed.length === 0) {
-            return { whiteSpaceOnly: { value } };
-        }
-
-        const regex = /^[a-zA-Z0-9 _-]+$/;
-        const valid = regex.test(trimmed);
-
-        return valid ? null : { invalidName: { value } };
-    };
-}

Reply via email to