Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1290

TimePicker dependency 'autocomplete-list' may render 'autocomplete' unsuable

Details

    Description

      In the scenario produced by the code below (which imitates the one in Liferay Portal), the 'autocomplete-list' dependency of 'aui-timepicker' renders the 'autocomplete' module mostly unusable.

      YUI().use('autocomplete', function(Y) {
          console.log('loading autocomplete only >>');
          console.log(Y.AutoComplete.prototype._createStringSource);
      });
      
      Y = YUI();
      
      Y.use('autocomplete-list', function(Y) { 
          Y.use('autocomplete', function(Y) {
              console.log('loading autocomplete on the same instance after having loaded autocomplete-list >>');
              console.log(Y.AutoComplete.prototype._createStringSource);
          });
      });
      

      Attachments

        Issue Links

          Activity

            People

              eduardo.lundgren Eduardo Lundgren (Inactive)
              jose.balsas Chema Balsas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 7 weeks, 2 days ago

                Packages

                  Version Package
                  2.0.x
                  master
                  master-deprecated
                  2.5.x
                  3.0.x
                  2.0.0.16-deprecated
                  3.1.x