Improve validation
[arvados-workbench2.git] / src / views / run-process-panel / inputs / string-input.tsx
index dc7075cf198d25f2c273aab497aabd14dae3b566..7f02e1d34338f819d248b2f0ea5472fe9fb1987f 100644 (file)
@@ -29,4 +29,4 @@ const StringInputComponent = (props: GenericInputProps) =>
         {...props} />;
 
 const Input = (props: GenericInputProps) =>
-    <MaterialInput fullWidth {...props.input} />;
\ No newline at end of file
+    <MaterialInput fullWidth {...props.input} error={props.meta.touched && !!props.meta.error} />;
\ No newline at end of file