diff --git a/ui/src/hooks/useTagModal/index.tsx b/ui/src/hooks/useTagModal/index.tsx index 4a24870a..f1b80af7 100644 --- a/ui/src/hooks/useTagModal/index.tsx +++ b/ui/src/hooks/useTagModal/index.tsx @@ -95,13 +95,13 @@ const useTagModal = (props: IProps = {}) => { isInvalid: true, errorMsg: t('form.fields.slug_name.msg.range'), }; - } else if (/[^a-z0-9+#\-.]/.test(slugName.value)) { - bol = false; - formData.slugName = { - value: slugName.value, - isInvalid: true, - errorMsg: t('form.fields.slug_name.msg.character'), - }; + // } else if (/[^a-z0-9+#\-.]/.test(slugName.value)) { + // bol = false; + // formData.slugName = { + // value: slugName.value, + // isInvalid: true, + // errorMsg: t('form.fields.slug_name.msg.character'), + // }; } else { formData.slugName = { value: slugName.value, @@ -217,7 +217,9 @@ const useTagModal = (props: IProps = {}) => { isInvalid={formData.slugName.isInvalid} /> -