Refresh option in validation result page

Issue-ID: SDC-2585
Co-authored-by: nikhil.soni@vodafone.com
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
Change-Id: I78f1385d219837c300cb33aff82b7459f137babb
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
diff --git a/openecomp-ui/src/nfvo-components/input/validation/Input.jsx b/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
index 16a0abc..3feb06d 100644
--- a/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
+++ b/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
@@ -105,7 +105,16 @@
                             data-test-id={this.props['data-test-id']}
                         />
                     )}
-
+                    {type === 'file' && (
+                        <FormControl
+                            bsClass={'form-control input-options-other'}
+                            onChange={e => this.onChangeFile(e)}
+                            disabled={isReadOnlyMode || Boolean(disabled)}
+                            type={type}
+                            data-test-id={this.props['data-test-id']}
+                            inputRef={input => (this.input = input)}
+                        />
+                    )}
                     {type === 'textarea' && (
                         <FormControl
                             className="form-control input-options-other"
@@ -220,6 +229,11 @@
         onChange(value);
     }
 
+    onChangeFile(e) {
+        let { onChange } = this.props;
+        onChange(e.target.files[0]);
+    }
+
     onChangeCheckBox(e) {
         let { onChange } = this.props;
         let checked = e.target.checked;