I find that
1) I sometimes type slower than 2 chars in less than half a second (the 500ms timeout)
2) I'm changing 2+ items like select boxes.

Proposal: Change auto-submit to have a small timeout that checks if the form has changed or any new keys pressed during the time.

Comments

hefox’s picture

Status: Active » Needs review
hefox’s picture

StatusFileSize
new2.65 KB

Accidentally removed the d from drupal

hefox’s picture

StatusFileSize
new2.65 KB

Perhaps 5s is a bit tooo long

hefox’s picture

Need to use values instead of input

Status: Needs review » Needs work

The last submitted patch, 2017159_panopoly_magic_preview_post_render-5.patch, failed testing.

hefox’s picture

StatusFileSize
new2.65 KB

I guess I could add the actual patch

hefox’s picture

Status: Needs work » Needs review

*headdesk* Please ignore the last few comments, uploaded to wrong issue queue.

mpotter’s picture

Status: Needs review » Reviewed & tested by the community

This is very helpful when using a Filter in a collapsed fieldset. Definitely a better user experience.

ronino’s picture

Status: Reviewed & tested by the community » Needs work

I applied #6 and got the JavaScript error "Uncaught SyntaxError: Unexpected identifier" when the form should have been submitted. Chrome doesn't give me a hint where that error comes from, but it doesn't appear without the patch.

cockers’s picture

Issue summary: View changes

I didn't get any error messages, but auto submit had just stopped working after applying this patch.

quotesbro’s picture

#6 worked for me.

quotesbro’s picture

Title: autosubmit: Don't submit form while user is activally changing it » autosubmit: Don't submit form while user is actively changing it
mstrelan’s picture

StatusFileSize
new19.62 KB
new23.3 KB

Same result as #9. Using Better Exposed Filters with checkboxes and autocomplete.

Javascript error
CTools Error

Debugging the error
CTools Error

diamondsea’s picture

FYI, I have also posted a user-configurable solution in #2781117: Configurable timeouts on auto-submit, ignore Enter key option.

k4v’s picture

StatusFileSize
new2.7 KB

For my project #6 worked, here's a reroll for current dev.

japerry’s picture

Status: Needs work » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.