Skip to content

Commit

Permalink
small fix on blocking creating
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Jun 4, 2021
1 parent 5a604e3 commit 120866c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const hostField = ({
<ValidatedInput
id="host"
name="host"
value={db?.parameters?.host || ''}
value={db?.parameters?.host}
required={required}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.host}
Expand All @@ -77,7 +77,7 @@ const portField = ({
id="port"
name="port"
required={required}
value={db?.parameters?.port || ''}
value={db?.parameters?.port}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.port}
placeholder="e.g. 5432"
Expand All @@ -97,7 +97,7 @@ const databaseField = ({
id="database"
name="database"
required={required}
value={db?.parameters?.database || ''}
value={db?.parameters?.database}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.database}
placeholder="e.g. world_population"
Expand All @@ -117,7 +117,7 @@ const usernameField = ({
id="username"
name="username"
required={required}
value={db?.parameters?.username || ''}
value={db?.parameters?.username}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.username}
placeholder="e.g. Analytics"
Expand All @@ -137,7 +137,7 @@ const passwordField = ({
name="password"
required={required}
type="password"
value={db?.parameters?.password || ''}
value={db?.parameters?.password}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.password}
placeholder="e.g. ********"
Expand All @@ -156,7 +156,7 @@ const displayField = ({
id="database_name"
name="database_name"
required={required}
value={db?.database_name || ''}
value={db?.database_name}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.database_name}
placeholder=""
Expand Down

0 comments on commit 120866c

Please sign in to comment.