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

New Component: RadioButtonGroup #6612

Closed
mertsincan opened this issue Oct 20, 2024 · 0 comments
Closed

New Component: RadioButtonGroup #6612

mertsincan opened this issue Oct 20, 2024 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@mertsincan
Copy link
Member

mertsincan commented Oct 20, 2024

RadioButtonGroup is a component that groups multiple radio buttons, allowing users to select only one option from the group.

<RadioButtonGroup v-model="selectedValue" name="pizza" class="flex flex-wrap gap-4">
    <div class="flex items-center">
        <RadioButton inputId="ingredient1" value="Cheese" />
        <label for="ingredient1" class="ml-2">Cheese</label>
    </div>
    <div class="flex items-center">
        <RadioButton inputId="ingredient2" value="Mushroom" />
        <label for="ingredient2" class="ml-2">Mushroom</label>
    </div>
    <div class="flex items-center">
        <RadioButton inputId="ingredient3" value="Pepper" />
        <label for="ingredient3" class="ml-2">Pepper</label>
    </div>
    <div class="flex items-center">
        <RadioButton inputId="ingredient4" value="Onion" />
        <label for="ingredient4" class="ml-2">Onion</label>
    </div>
</RadioButtonGroup>
@mertsincan mertsincan added the Type: New Feature Issue contains a new feature or new component request label Oct 20, 2024
@mertsincan mertsincan added this to the 4.2.0 milestone Oct 20, 2024
@mertsincan mertsincan self-assigned this Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

1 participant