Skip to content

bug(@vtmn/css): enhancement VtmnSelect make the props label optional #1448

Description

@Mig-l

Describe the bug

image

We need to use the VtmnSelect without the label.
The label props is mandatory

image

If we pass the label props with an empty string, we still have an HTML label tag that is generated but empty.

image

Steps to reproduce

https://decathlon.github.io/vitamin-web/@vtmn/showcase-svelte/?path=/story/components-forms-vtmnselect--overview

Expected behavior

We have in production a select without label for the choice of the language that we must switch to Vitamin

image

We will want to use the VtmnSelect without the label

Metadata

Metadata

Assignees

No one assigned

    Labels

    CSS 🎨Related to CSS styles packagesbug 🐛Something isn't workingcommunity 👥As we stopped improvements for this version of Vitamin, this issue needs to be done by the community

    Type

    No type

    Projects

    Status
    🔖 Dev to do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions