Skip to content

Commit 8461c07

Browse files
committed
fix: remove redundant code
We don't need specific logic for the 'textbox' field as we have a common logic now
1 parent a747159 commit 8461c07

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/projects/detail/components/SpecQuestions.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ class SpecQuestions extends React.Component {
258258
elemProps.wrapperClass = 'row'
259259
elemProps.rows = 3
260260
elemProps.autoResize = true
261-
if (q.validations) {
262-
elemProps.validations = q.validations
263-
}
264261
// child = <TCFormFields.Textarea name={q.fieldName} label={q.label} value={value} wrapperClass="row" />
265262
break
266263
case 'radio-group':

0 commit comments

Comments
 (0)