From 8b346842194edb8a9e8c4cd2764ae8ebbce988f0 Mon Sep 17 00:00:00 2001 From: atulpurohit Date: Tue, 5 Nov 2019 14:31:56 +0530 Subject: Refresh option in validation result page Issue-ID: SDC-2585 Co-authored-by: nikhil.soni@vodafone.com Signed-off-by: atulpurohit Change-Id: I78f1385d219837c300cb33aff82b7459f137babb Signed-off-by: atulpurohit --- .../src/nfvo-components/input/validation/Input.jsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'openecomp-ui/src/nfvo-components') diff --git a/openecomp-ui/src/nfvo-components/input/validation/Input.jsx b/openecomp-ui/src/nfvo-components/input/validation/Input.jsx index 16a0abc5fd..3feb06da0e 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 @@ class Input extends React.Component { data-test-id={this.props['data-test-id']} /> )} - + {type === 'file' && ( + this.onChangeFile(e)} + disabled={isReadOnlyMode || Boolean(disabled)} + type={type} + data-test-id={this.props['data-test-id']} + inputRef={input => (this.input = input)} + /> + )} {type === 'textarea' && (