Skip to content

Commit

Permalink
Update typeahead ui components
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Feb 17, 2021
1 parent cf9a6ba commit 97c9e72
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/javascript/mda_viewer/components/AnalysisSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class AnalysisSelector extends React.Component {
options={options}
allowNew={false}
multiple={false}
selectHintOnEnter
labelKey="label"
minLength={2}
onSearch={this.handleSearch}
Expand Down
1 change: 0 additions & 1 deletion app/javascript/mda_viewer/components/ConnectionsEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ class ConnectionsForm extends React.Component {
newSelectionPrefix="New: "
multiple
labelKey="name"
selectHintOnEnter
isInvalid={isErroneous}
minLength={1}
placeholder="Enter variable names..."
Expand Down
1 change: 0 additions & 1 deletion app/javascript/mda_viewer/components/ProjectSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class ProjectSelector extends React.Component {
defaultSelected={[selected]}
isLoading={isLoading}
multiple={false}
selectHintOnEnter
options={options}
id="typeahead-projects"
labelKey="name"
Expand Down
1 change: 0 additions & 1 deletion app/javascript/mda_viewer/components/UserSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class UserSelector extends React.Component {
allowNew={false}
isLoading={isLoading}
multiple={false}
selectHintOnEnter
options={options}
id="typeahead-users"
labelKey="login"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"qs": "^6.9.4",
"react": "^17.0.0",
"react-beautiful-dnd": "^13.0.0",
"react-bootstrap-typeahead": "^5.0.0-rc.1",
"react-bootstrap-typeahead": "^5.1.4",
"react-dom": "^17.0.0",
"react-jsonschema-form-bs4": "^1.3.0",
"react-plotly.js": "^2.4.0",
Expand Down Expand Up @@ -59,4 +59,4 @@
"lint": "yarn run eslint --ext .js --ext .jsx app/javascript",
"lintfix": "yarn run eslint --fix --ext .js --ext .jsx app/javascript"
}
}
}

0 comments on commit 97c9e72

Please sign in to comment.