You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2020/12/17 01:16:39 UTC

[incubator-superset] 01/02: save

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hxgh-ch231-overflow-action-menu
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 36db2b523fa304ceec9b088133a83250c4c7ddd4
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Dec 14 17:55:50 2020 -0500

    save
---
 superset-frontend/src/SqlLab/components/SqlEditor.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/SqlLab/components/SqlEditor.jsx b/superset-frontend/src/SqlLab/components/SqlEditor.jsx
index bdbe6a8..335d4bd 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditor.jsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditor.jsx
@@ -421,10 +421,11 @@ class SqlEditor extends React.PureComponent {
       <Menu onClick={this.handleMenuClick}>
         <Menu.Item>
           {' '}
-          Autocomplete{' '}
+          <label for="autocomplete-switch">Autocomplete</label>{' '}
           <Switch
             checked={this.state.autocompleteEnabled}
             onChange={this.handleToggleAutocompleteEnabled}
+            name="autocomplete-switch"
           />{' '}
         </Menu.Item>
         <Menu.Item>