Chips float label does not work when value is updated programmatically #9289
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/github/primefaces/primeng-issue-template
Couldn't get stackblitz to work, but here you can find repro project here https://github.com/MaximShchukin/primeng-chips-issue2
Current behavior
https://prnt.sc/uiwip0
Chips float label does not "float" when form value is updated programmatically
Expected behavior
Float label works correctly with Chips
Minimal reproduction of the problem with instructions
this.form.patchValue({ cities: ["London", "New York"] });
What is the motivation / use case for changing the behavior?
We want to use float labels with Chips
Please tell us about your environment:
Windows, Visual Studio Code
Angular version: 5.X
Angular 10.1.2
PrimeNG version: 5.X
PrimeNG 10.0.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
all
Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript 4.0.2
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: