Unverified Commit 33a0c248 authored by wellCh4n's avatar wellCh4n Committed by GitHub

[Fix][web] Fields' value should be clear after closing edit dialog on…

[Fix][web] Fields' value should be clear after closing edit dialog on Registration Center's Flink instance management page (#1411)
parent 730408d5
...@@ -70,6 +70,7 @@ const ClusterForm: React.FC<ClusterFormProps> = (props) => { ...@@ -70,6 +70,7 @@ const ClusterForm: React.FC<ClusterFormProps> = (props) => {
}; };
const renderContent = (formValsPara: Partial<ClusterTableListItem>) => { const renderContent = (formValsPara: Partial<ClusterTableListItem>) => {
form.resetFields();
return ( return (
<> <>
<Form.Item <Form.Item
......
...@@ -289,6 +289,7 @@ const ClusterConfigurationForm: React.FC<ClusterConfigurationFormProps> = (props ...@@ -289,6 +289,7 @@ const ClusterConfigurationForm: React.FC<ClusterConfigurationFormProps> = (props
} }
const renderContent = (formValsPara: Partial<ClusterConfigurationTableListItem>) => { const renderContent = (formValsPara: Partial<ClusterConfigurationTableListItem>) => {
form.resetFields();
return ( return (
<> <>
<Form.Item <Form.Item
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment