Improve validation
[arvados-workbench2.git] / src / views / run-process-panel / inputs / int-input.tsx
index 1e4c17cb9cf6a48622960d77ffb5e92ea1b364e9..193de26ccb2d3e224d4ba120eea524a03ded87b3 100644 (file)
@@ -32,5 +32,5 @@ const IntInputComponent = (props: GenericInputProps) =>
 
 
 const Input = (props: GenericInputProps) =>
-    <MaterialInput fullWidth type='number' {...props.input} />;
+    <MaterialInput fullWidth type='number' {...props.input} error={props.meta.touched && !!props.meta.error} />;