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

igx-radio-group does not align label correctly #15554

Open
kdinev opened this issue Mar 20, 2025 · 1 comment
Open

igx-radio-group does not align label correctly #15554

kdinev opened this issue Mar 20, 2025 · 1 comment

Comments

@kdinev
Copy link
Member

kdinev commented Mar 20, 2025

Description

I have an igx-radio-group component with 4 igx-radio buttons and a label. The label is not aligned with the radio buttons.

  • igniteui-angular version: 19.1.4
  • browser: all

Steps to reproduce

  1. Define an igx-radio-group like this:
  <igx-radio-group [(ngModel)]="matchInEdit.player1Race" required>
    <label igxLabel i18n>SC2 race</label>
    <igx-radio [value]="0" i18n>Random</igx-radio>
    <igx-radio [value]="1" i18n>Protoss</igx-radio>
    <igx-radio [value]="2" i18n>Terran</igx-radio>
    <igx-radio [value]="3" i18n>Zerg</igx-radio>
  </igx-radio-group>
  1. Run the app

Result

The label and radio buttons are misaligned.

Expected result

Label and radio buttons should be aligned.

Attachments

Image

@simeonoff
Copy link
Collaborator

@sdimchevski Can we add this pattern to the UI kit patterns? How long do you think it will take so we can base the implementation on the design?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants