Skip to content

Commit

Permalink
trim namespace custom format before submit (airbytehq#17986)
Browse files Browse the repository at this point in the history
  • Loading branch information
dizel852 authored and jhammarstedt committed Oct 31, 2022
1 parent d3279b7 commit b3b407f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const connectionValidationSchema = (mode: ConnectionFormMode) =>
.required("form.empty.error"),
namespaceFormat: yup.string().when("namespaceDefinition", {
is: NamespaceDefinitionType.customformat,
then: yup.string().required("form.empty.error"),
then: yup.string().trim().required("form.empty.error"),
}),
prefix: yup.string(),
syncCatalog: yup.object({
Expand Down

0 comments on commit b3b407f

Please sign in to comment.