Skip to content

Is there any known way to make the placeholder act more like a material design floating label? #1126

@MikeMuxika

Description

@MikeMuxika

I'm using https://github.com/callemall/material-ui for a project and specifically need to use Chips with a multi-select, autocomplete, and search functionality. Since they don't support that yet (if ever) I did research and found react-select. It solves all of the functional issues but I'm having a hard time getting the design functionality I want.

I'm trying to accomplish the floating label text shown in this gif:

But the only method I see so far of having labels is with <Select ... placeholder="STRING" />

The only way I can think to handle this is to somehow pass and subsequently override existing elements that react-select renders. Are there any existing methods built into the codebase for handling something like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions