File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/components/CIPipelineN/VariableDataTable Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,6 @@ export const validateInputOutputVariableCell = ({
130
130
isValid : false ,
131
131
}
132
132
}
133
-
134
- // test for max length if variable is string
135
- if ( format === VariableTypeFormat . STRING && variableValue && ! ! value && value . length > 255 ) {
136
- return {
137
- errorMessages : [ VARIABLE_DATA_TABLE_CELL_ERROR_MSGS . MAX_LENGTH_255 ] ,
138
- isValid : false ,
139
- }
140
- }
141
133
}
142
134
143
135
if ( isInputVariable && key === 'val' ) {
@@ -163,6 +155,7 @@ export const validateInputOutputVariableCell = ({
163
155
}
164
156
}
165
157
158
+ // test for max length if variable is string
166
159
if ( key === 'val' && format === VariableTypeFormat . STRING && variableValue && ! ! value && value . length > 255 ) {
167
160
return {
168
161
errorMessages : [ VARIABLE_DATA_TABLE_CELL_ERROR_MSGS . MAX_LENGTH_255 ] ,
You can’t perform that action at this time.
0 commit comments