Skip to content

flux.radio.group color on selected option #679

Closed Answered by jeffchown
yangsystem asked this question in Feature Requests
Discussion options

You must be logged in to vote

@yangsystem Try this:

<flux:radio.group wire:model="status_user" label="Status *" variant="segmented">
    <flux:radio value='1' label="Activ" class="data-[checked]:!bg-green-600" />
    <flux:radio value='0' label="Suspendat" class="data-[checked]:!bg-red-600" />
</flux:radio.group>

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@yangsystem
Comment options

@jeffchown
Comment options

Answer selected by yangsystem
@yangsystem
Comment options

@jeffchown
Comment options

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