fixing styling for filter bar 27/28427/1
authorSteve Thomas <steventh@amdocs.com>
Wed, 17 Jan 2018 17:24:27 +0000 (12:24 -0500)
committersteventh <steve.thomas@amdocs.com>
Wed, 17 Jan 2018 17:30:53 +0000 (12:30 -0500)
Issue-ID: AAI-668
Change-Id: I61ce8ab7f042a8eff8ccd5dee74c8311ad16b65b
Signed-off-by: Steve Thomas <steventh@amdocs.com>
Signed-off-by: steventh <steve.thomas@amdocs.com>
package.json
src/generic-components/input/SelectInput.jsx
src/index.html

index e93be47..325c418 100644 (file)
@@ -48,7 +48,7 @@
     "topojson": "^2.2.0",
     "uuid-js": "^0.7.5",
     "validator": "^4.3.0",
-    "vertical-filter-bar": "0.0.4"
+    "vertical-filter-bar": "1.0.4"
   },
   "devDependencies": {
     "babel-core": "^6.9.1",
index 13a1895..557f4cb 100644 (file)
        */
 import React, {Component} from 'react';
 import Select from 'react-select';
+import 'react-select/dist/react-select.css';
 
 class SelectInput extends Component {
-               
+
                inputValue = [];
-               
+
                render() {
                                let {label, value, ...other} = this.props;
                                return (
@@ -54,20 +55,20 @@ class SelectInput extends Component {
                                                </div>
                                );
                }
-               
+
                getValue() {
                                return this.inputValue && this.inputValue.length ? this.inputValue : '';
                }
-               
+
                onSelectChanged(value) {
                                this.props.onMultiSelectChanged(value);
                }
-               
+
                componentDidMount() {
                                let {value} = this.props;
                                this.inputValue = value ? value : [];
                }
-               
+
                componentDidUpdate() {
                                if (this.inputValue !== this.props.value) {
                                                this.inputValue = this.props.value;
index 73b082b..79775df 100644 (file)
@@ -26,7 +26,6 @@
 <head>
     <meta charset="utf-8">
     <title>A&AI UI</title>
-    <link rel="stylesheet" href="https://unpkg.com/react-select/dist/react-select.css">
 </head>
 
 <body>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use