hughhhh commented on a change in pull request #14829:
URL: https://github.com/apache/superset/pull/14829#discussion_r645778040



##########
File path: 
superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
##########
@@ -218,8 +318,12 @@ const DatabaseConnectionForm = ({
             key === 'database_name',
         ).map(field =>
           FORM_FIELD_MAP[field]({
-            required: parameters.required.includes(field),
-            changeMethods: { onParametersChange, onChange },
+            required: parameters.required?.includes(field),

Review comment:
       this only sets the required field for the `FORM_FIELD_MAP`
   
   
https://github.com/apache/superset/pull/14829/files#diff-ec023fde364c517087ecce2de11eb7374679b99a8afc2c641cab1df94eb9a2fcR60




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to