question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backspaces and spaces do not work when editing simple filter value in explore chart

See original GitHub issue

Description:

When editing the value of a simple filter in explore box, backspaces and spaces are broken. It seems like they are not being entered into the filter value text box but are instead being entered into the filter column drop down. The space problem also occurs when editing custom SQL, which majorly breaks custom sql filters. The only workaround to type a space is to type the value/custom sql elsewhere and paste it into the desired textbox.

How often can this be reproduced? 100%

Steps to Reproduce:

  1. Create a table chart
  2. Click FILTERS drop down and select a column
  3. Type a space and observe that the space is entered into the filters drop down instead of the value text box
  4. Type a backspace and observe that the filter modal closes

Result:

After typing space: Space does not appear in filter value text box

After typing backspace: Modal closes

Expected Result:

After typing space: Space appears in filter value text box

After typing backspace: The character before the cursor disappears.

Screenshots

filter-space-issue

Environment

(please complete the following information):

  • superset version: master

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
zuzana-vejcommented, Nov 2, 2020

Yes it’s fixed. thank you

1reaction
kgabryjecommented, Nov 2, 2020

@junlincc It’s been fixed by https://github.com/apache/incubator-superset/pull/11428, I think we can close this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Backspaces and spaces do not work when editing simple filter ...
Create a table chart; Click FILTERS drop down and select a column; Type a space and observe that the space is entered into...
Read more >
Backspace doesn't work in Visual Studio - Stack Overflow
A quick fix for me is to simply open any menu from the menu bar. Once the menu is closed the non-character keys...
Read more >
Filter Results in the Events View - NetWitness Community
Right-click > Delete selected filters or Delete selection (11.4 and later). Press Delete. Press Backspace. Filter that has focus (Version 11.4 and later):...
Read more >
Error in Editor - cannot backspace - Visual Studio Feedback
Press backspace key again, character deletes and error “Cannot Filter. The session is not yet started.” immediately appears. Press OK on error, repeat...
Read more >
How to remove spaces in Excel - leading, trailing, non-breaking
The tutorial explains how to remove blank spaces in Excel using formulas and the Text Toolkit tool. You will learn how to delete...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found