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

add Disabled to RadioGroupOption #59

Open
NathanVG opened this issue Aug 16, 2024 · 2 comments
Open

add Disabled to RadioGroupOption #59

NathanVG opened this issue Aug 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@NathanVG
Copy link

Is there a way to disable RadioGroupOptions?

For instance I'm making a component to change the status of an item, in case certain details are not filled in I want to disable certain status options, but still display them. It does not seem a "disabled" prop is available (unless I'm missing something).

@DavidVollmers
Copy link
Owner

Currently there is no Disabled attribute, but it makes sense to add one.

Maybe I will find some time over the next week to implement this (should be rather easy), but feel free to also try yourself and open a PR. You basically want to just add it here: https://github.com/DavidVollmers/Ignis/blob/master/packages/Tailwind/Ignis.Components.HeadlessUI/RadioGroupOption.cs

@DavidVollmers DavidVollmers added enhancement New feature or request good first issue Good for newcomers labels Aug 18, 2024
@DavidVollmers
Copy link
Owner

FYI: I started working on this to introduce the IsDisabled attribute on all components where it also exists in headless UI:
https://github.com/DavidVollmers/Ignis/tree/features/disabled-attribute

@DavidVollmers DavidVollmers removed the good first issue Good for newcomers label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants