-
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
Selected values in multiselect label are (null) when list of options loaded *after* bound selectedValue #725
Comments
I'm not sure if this is the same issue but I have similar problem when using multiselect together with ng-translate. If I use translated string as a label, after refreshing the page (with F5) it is not displayed at all. I've tried to fix that somehow but I guess this is because ng-translate loads translation asynchronously and multiselect is rendered before it finishes. @tbertran did you have a similar problem with multiselect? |
I did not use it with |
I've also had this problem with @angular/*=2.4.7 and primeng=^2.0.1. My case was in general like this: and I was fetching options by service like so:
and at the same time doing So I've moved
Probably could be done more intelligently, but was sufficient at that time. |
i got the same issue |
This problem exists in version 4.1.0. We tried 5.0 also. Still a problem. Usage: [defaultLabel]="'@cognitec/filters/SelectArrayComponent/Choose' | translate" The default label does not change when the language option changes. |
Title is a bit convoluted but this plunker illustrates the problem.
Note that if
selectedCars
is populated beforecars
, it works fine.FYI, I'm having this issue because, in my case, those two come from two different GET requests.
The text was updated successfully, but these errors were encountered: