Open NathanVG opened 3 months ago
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
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
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).