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

InputTextarea: Floating Label #1040

Closed
melloware opened this issue Oct 9, 2019 · 0 comments
Closed

InputTextarea: Floating Label #1040

melloware opened this issue Oct 9, 2019 · 0 comments
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@melloware
Copy link
Member

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

[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior
InputTexArea using a floating label does not float.

<span className="p-float-label">
        <InputTextarea id="txtAddress" rows={3} cols={50} autoResize={false} />
         <label htmlFor="txtAddress">Address</label>
</span>

Expected behavior
The label "Address" should float above the InputText when data is entered like it does for InputText.

Minimal reproduction of the problem with instructions

Please tell us about your environment:
Windows OS using npm start

  • React version:
    16.10

  • PrimeReact version:
    3.2.0

  • Browser: [all ]

  • Language: [all]

melloware added a commit to melloware/primereact that referenced this issue Oct 10, 2019
mertsincan added a commit that referenced this issue Oct 14, 2019
Fix #1040: InputTextArea floating label CSS.
@mertsincan mertsincan assigned mertsincan and unassigned mertsincan Oct 14, 2019
@mertsincan mertsincan added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Oct 14, 2019
@mertsincan mertsincan added this to the 3.2.1 milestone Oct 14, 2019
mertsincan added a commit that referenced this issue Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants