mirror of
https://github.com/apache/superset.git
synced 2026-07-16 19:55:39 +00:00
fix: validation errors appearing after ssh tunnel switch (#24849)
This commit is contained in:
@@ -49,6 +49,7 @@ export const hostField = ({
|
||||
onChange={changeMethods.onParametersChange}
|
||||
/>
|
||||
);
|
||||
|
||||
export const portField = ({
|
||||
required,
|
||||
changeMethods,
|
||||
@@ -255,6 +256,7 @@ export const forceSSLField = ({
|
||||
export const SSHTunnelSwitch = ({
|
||||
isEditMode,
|
||||
changeMethods,
|
||||
clearValidationErrors,
|
||||
db,
|
||||
}: FieldPropTypes) => (
|
||||
<div css={(theme: SupersetTheme) => infoTooltip(theme)}>
|
||||
@@ -270,6 +272,7 @@ export const SSHTunnelSwitch = ({
|
||||
value: changed,
|
||||
},
|
||||
});
|
||||
clearValidationErrors();
|
||||
}}
|
||||
data-test="ssh-tunnel-switch"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user