From a7f23b37f62bc350ce64d62ee08041f90469ab18 Mon Sep 17 00:00:00 2001 From: Lyubov Voloshko Date: Fri, 21 Nov 2025 16:04:22 +0200 Subject: [PATCH] fix hostname validation and hint for redis --- .../redis-credentials-form.component.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html index b92fc14f2..d336dd464 100644 --- a/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html +++ b/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html @@ -4,12 +4,13 @@ data-testid="connection-hostname-input" angulartics2On="change" angularticsAction="Connection creds {{ connection.id ? 'edit' : 'add' }}: hostname is edited" - required hostnameValidator="mongodb" + required hostnameValidator [readonly]="(accessLevel === 'readonly' || connection.isTestConnection) && connection.id" [disabled]="submitting" [(ngModel)]="connection.host"> - E.g. mongodb+srv://my-test-db.8a8grvb.mongoconnection.net
+ E.g. redis-12345.c17.us-east-1-2.ec2.cloud.redislabs.com +
Connections from internal IPs (e.g. localhost) are not supported