This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch SO-164 in repository https://gitbox.apache.org/repos/asf/superset.git
commit df63fe8f86c648786846a8ee303fae10d0f01f5a Author: isaac-jaynes-imperva <[email protected]> AuthorDate: Thu Feb 12 09:13:23 2026 -0800 Update superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> --- .../databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx b/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx index e4a3edd5a8e..f2830119112 100644 --- a/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx +++ b/superset-frontend/src/features/databases/DatabaseModal/DatabaseConnectionForm/EncryptedField.tsx @@ -186,7 +186,9 @@ export const EncryptedField = ({ : encryptedValue } validationMethods={{ onBlur: getValidation }} - errorMessage={validationErrors?.query} + errorMessage={ + encryptedField ? validationErrors?.[encryptedField] : null + } placeholder={t('Paste content of service credentials JSON file here')} label={t('Service Account')} onChange={changeMethods.onParametersChange}
