InputTextArea, FloatLabel and Initial State #9607
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ...
Current behavior
If an InputTextarea is wrapped in a FloatLabel and the InputTextarea has an initial value, the FloatLabel appears within the bounds of the rendered textarea control instead of floating above where it should be.
Expected behavior
The FloatLabel should appear above the rendered textarea control if there is an initial value set in the InputTextarea, but the "p-filled" class is not being added to the InputTextarea.
Minimal reproduction of the problem with instructions
https://github-v5s7kb.stackblitz.io
Angular version: 10.2.3+
PrimeNG version: 10.0.3+
Browser: all
Language: TypeScript 4.0.5
Code Fix
This can be fixed by adding the following code to the component (which is similar to how the InputText component works):
The text was updated successfully, but these errors were encountered: