angular-google-places-autocomplete icon indicating copy to clipboard operation
angular-google-places-autocomplete copied to clipboard

Force Select only works when dropdown is visible

Open RathanKumar opened this issue 9 years ago • 1 comments

If I create a g-places-autocomplete with options for type and country restrictions as follows,

  $scope.options = {
    types: ['(cities)'],
    componentRestrictions: {
      country: 'us'
    }
  };

And try to enter a city name which is not available, that makes autocomplete dropdown blank (no dropdown), and force-selection does not work, It just accept the raw text entered by user.

RathanKumar avatar Oct 26 '15 14:10 RathanKumar

Hello, In my case the dropdown doesn't show anything, so I put .pac-container { z-index: 10000 !important; } in my css file and works.

thiagorthomaz avatar Nov 07 '15 18:11 thiagorthomaz