Skip to content

Commit 146d166

Browse files
arunjaindevAbhishekA1509
authored andcommitted
fix: remove character length validation from input output variable value
1 parent 2fce94c commit 146d166

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/CIPipelineN/VariableDataTable/validations.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,6 @@ export const validateInputOutputVariableCell = ({
155155
}
156156
}
157157

158-
// test for max length if variable is string
159-
if (key === 'val' && format === VariableTypeFormat.STRING && variableValue && !!value && value.length > 255) {
160-
return {
161-
errorMessages: [VARIABLE_DATA_TABLE_CELL_ERROR_MSGS.MAX_LENGTH_255],
162-
isValid: false,
163-
}
164-
}
165-
166158
return { errorMessages: [], isValid: true }
167159
}
168160

0 commit comments

Comments
 (0)