Skip to content

fixed bug#1448: made VtmnSelect React component to show label only when labelText prop is passed to it#1495

Open
rajeshpoojari39 wants to merge 1 commit intoDecathlon:mainfrom
rajeshpoojari39:main
Open

fixed bug#1448: made VtmnSelect React component to show label only when labelText prop is passed to it#1495
rajeshpoojari39 wants to merge 1 commit intoDecathlon:mainfrom
rajeshpoojari39:main

Conversation

@rajeshpoojari39
Copy link
Copy Markdown

@rajeshpoojari39 rajeshpoojari39 commented Jul 6, 2024

Changes description

Made changes to VtmnSelect React component to show label only when labelText prop is passed to it.

Context

The issue mentioned in the below link says the VtmnSelect component shows label html tag when empty label is passed to the component. I have made fix for this in the VtmnSelect React component only, as I am well versed with react. With this fix the component will not add empty label html tag if labelText prop is not passed to it.
#1448

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
  • Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
  • Check your code additions will fail neither code linting checks.
  • I have reviewed the submitted code.
  • I have tested on related showcases.
  • If it includes design changes, please ask for a review design-system-core-team-design GitHub team.

Does this introduce a breaking change?

  • No

Other information

This issue is only fixed for VtmnSelect React component

@rajeshpoojari39 rajeshpoojari39 requested review from a team and thibault-mahe as code owners July 6, 2024 08:16
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 6, 2024

CLA assistant check
All committers have signed the CLA.

@lauthieb lauthieb force-pushed the main branch 5 times, most recently from 661d59e to 6f7e7f5 Compare June 6, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants