Skip to content
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

Float label not working when clearing input on AutoComplete and TextArea #9688

Closed
sourdoth opened this issue Dec 23, 2020 · 0 comments
Closed
Assignees
Labels
LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@sourdoth
Copy link

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
Float Label not work in autocomplete and textArea when a write and after delete the text the label not return to the input
in autocomplete work but when i set [forceSelection]="true" dosn´t work

expected behavior
when textarea and autocomplete input are clear, label apper into the input not over.

Minimal reproduction of the problem with instructions
https://www.primefaces.org/primeng/showcase/#/floatlabel

TextArea :

  1. write in textarea
  2. remove focus
  3. delete text from texarea
  4. remove focus

AutoComplete

  1. enable [forceSelection]="true"
  2. write in box for search (empty result)
  3. remove focus

in both case label keep over input

  • Angular version: 11
  • PrimeNG version: 11
@yigitfindikli yigitfindikli added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Dec 25, 2020
@yigitfindikli yigitfindikli self-assigned this Dec 25, 2020
@yigitfindikli yigitfindikli added this to the 11.1.0 milestone Dec 25, 2020
@yigitfindikli yigitfindikli changed the title BUG - float label (textarea and autocomplete) Float label (textarea and autocomplete) Dec 29, 2020
@yigitfindikli yigitfindikli changed the title Float label (textarea and autocomplete) Float label not working when clearing input on AutoComplete and TextArea Dec 29, 2020
@yigitfindikli yigitfindikli added LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 and removed LTS-PORTABLE labels Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants