-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better documentation for AutoComplete immutable #4103
Comments
I'm not sure if it the same issue, but this change tripped me up too. In my case I found that my autocomplete was not showing any results. Adding Before (broken): filterCountrySingle(event) {
const query = event.query;
this.filteredCountriesSingle = []; // <--- this causes a problem
this.countryService.getCountries(query)
.subscribe(countries => {
this.filteredCountriesSingle = countries;
});
} After (working): filterCountrySingle(event) {
const query = event.query;
this.countryService.getCountries(query)
.subscribe(countries => {
this.filteredCountriesSingle = [...countries];
});
} |
…ersion4 to develop * commit 'd7fdfc9ff5707543c0dd0d1e55a0dad5aaddc1f9': (1032 commits) FIX: correct path in d.ts. and js file Duplicate onSelect event removed(docs) Fixed primefaces#4112 Docs for progress spinner strokeWidth and fill properties for ProgressSpinner Initial drop-in of new p-progressSpinner component Add text Fixed primefaces#3460 Fixed primefaces#4168 Fixed primefaces#4152 Add serenity Add null check Fixed primefaces#4148 Fixed primefaces#4141 Validation class in calendar component Fixed primefaces#4131 New dev version Set version Better fix for primefaces#4103 Fixed AOT error ...
Thanks very much this saved my time. |
Why using those components is that annoying. I mean I assuming you are using them as an inventor |
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
I spent quite some time migrating an angular app from angular 4.0.0 / primeng 4.0.0 to angular 4.4.4 / primeng 4.2.2
What took me most of the time was understanding the changes to the p-autoComplete. Finally, after much tweaking and debugging, I figured that all I had to to was do add
to the properties of existing p-autoComplete.
dropdownMode can be understood by reading other tickets and the standard doc. But I found nothing really clear about "immutable". The actual doc "Defines how the suggestions should be manipulated." is quite unclear to me.
So, I suggest that you provide additional doc on this immutable property.
The text was updated successfully, but these errors were encountered: