Skip to content

bug: select label does not cover placeholder #27201

@EinfachHans

Description

@EinfachHans

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

When you have an floating md select with label and placeholder and no value selected the select appears buggy (see linked stackblitz)

Expected Behavior

I added to the stackblitz the current implementation of the same thing in the input coponent. That's how the select should work as well, so: Only show the label, if the select has focus: show the placeholder

Steps to Reproduce

Open attached stackblitz

Code Reproduction URL

https://github-1mgkjv-k38jrw.stackblitz.io

Ionic Info

Starter project

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions