Skip to content

Commit

Permalink
commented out callback related to #147
Browse files Browse the repository at this point in the history
  • Loading branch information
ardunn committed Oct 20, 2019
1 parent 86790e6 commit ecd4223
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion matscholar_web/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def display_page(path):
Output("primary-burger-trigger", "value"),
[
Input("primary-navbar-menu", 'id'),
# Input("primary-burger-trigger", 'id'),
Input("primary-burger-trigger", 'n_clicks'),
]
)
Expand All @@ -105,6 +104,18 @@ def void_example_search_n_clicks_on_live_search(*ent_txts):
return 0


# A test callback for updating guided search fields on searching
# @app.callback(
# get_search_field_callback_args(as_type="output", return_component="value"),
# # [Output("material_filter_input", "value")],
# [Input('search-btn', 'n_clicks')],
# [State('text_input', 'value')]
# )
# def something(n_clicks, text_input):
# print(text_input)
# return ["test"]*8


@app.callback(
Output('search-btn', 'n_clicks'),
[Input('text_input', 'n_submit')] +
Expand Down
1 change: 1 addition & 0 deletions matscholar_web/search/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def entity_filter_box_html(field):
authPass=os.environ['ELASTIC_PASS'],
searchField="original.edgengram",
)
# esas = dcc.Input(id=field + "_filters_input")

textbox = html.Div(
[entity_name, esas, entity_label_tooltip],
Expand Down

0 comments on commit ecd4223

Please sign in to comment.