From ebcdefb945165d47f5d3c854f17047dddbbfc825 Mon Sep 17 00:00:00 2001
From: xquanluu <110280845+xquanluu@users.noreply.github.com>
Date: Wed, 5 Oct 2022 10:13:40 +0700
Subject: [PATCH] Fix: update custome speech label content (#132)
---
src/components/forms/SpeechForm.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/forms/SpeechForm.js b/src/components/forms/SpeechForm.js
index 2cec188..75ec20c 100644
--- a/src/components/forms/SpeechForm.js
+++ b/src/components/forms/SpeechForm.js
@@ -331,7 +331,7 @@ const SpeechServicesAddEdit = (props) => {
}
if (useCustomStt && !customSttEndpoint) {
- errorMessages.push('Please provide a custom speech endpoint.');
+ errorMessages.push('Please provide a custom speech endpoint Id.');
setInvalidUseCustomStt(true);
if (!focusHasBeenSet) {
refUseCustomStt.current.focus();
@@ -755,13 +755,13 @@ const SpeechServicesAddEdit = (props) => {
invalid={invalidUseCustomStt}
ref={refUseCustomStt}
/>
-
+
setCustomSttEndpoint(e.target.value)}
- placeholder="Custom speech endpoint"
+ placeholder="Custom speech endpoint Id"
invalid={invalidUseCustomStt}
ref={refUseCustomStt}
disabled={!useCustomStt}