Closed (duplicate)
Project:
Date
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2012 at 00:17 UTC
Updated:
16 Sep 2013 at 21:05 UTC
Obviously, that's because clicking a date does not fire an event on the field. Maybe that could be considered a more general views bug.
Comments
Comment #1
sebastien.gasser commentedSame problem. Maybe, it's come from the recent rewrite of autosubmit.js in ctools module.
Comment #2
karens commentedI don't know anything about autosubmit or where it might be used. Without an example of how to create the problem on a clean install nothing will get done with this.
Comment #3
Juraj Maslik commentedAs a temp workaround I would recommend:
+ $(this).blur(function(){
$(this).keyup();
});
in "case 'datepicker'" of "date_popup.js"
Does it work for you?
Comment #4
cedric commentedInstructions to reproduce:
Enable date_popup and date_views modules
Create a view with an exposed filter on a date field, using the popup widget
Check "autosubmit" in the Exposed form options
Intended behaviour: The form should auto-submit and the view refreshed when user selects a different date using the date pop-up
Actual behaviour: The form needs to be manually submitted for the refresh to occur. Autosubmit option has no effect.
Comment #5
cedric commentedThe workaround in #3 works for normal mouse usage of the date-picker popup, but if you try to manually type-in a date, the form will auto-submit on key-press if you can't enter the full date fast enough and then you get invalid dates errors..
The source of the problem is auto-submit.js from ctools. I have opened a seperate issue with the ctools module to see if there would be a way to make the auto-submit work with enhanced text inputs.
See #1694988: Fix auto-submit for enhanced text text fields
Comment #6
guguss commentedIt seems that there is an issue related to the auto-submit.js ! Each widget raises an error related to Drupal.behaviors.collapse library...
We'll try to work on it since we're using it for Commerce Kickstart 2.x.
Comment #7
guguss commentedChanging the status since the steps to reproduce have been identified.
Comment #8
jkuma commentedI've made a patch for ctools auto-submit.js => #1694988: Fix auto-submit for enhanced text text fields
Comment #9
arlinsandbulte commentedThere is no patch here, so this issue should not be set to "need review."
Instead, this is seems like a duplicate of #1694988: Fix auto-submit for enhanced text text fields then....
Follow it over there.
Comment #10
dialn commentedthank you