Skip to content

Conversation

@mattesmohr
Copy link
Member

This pull request makes the selected attribute conditional.

let foo = "bar"

Select {
   Option()
      .selected(foo == "bar")
}

@mattesmohr mattesmohr merged commit 7a740c3 into main Jul 25, 2025
1 check passed
@mattesmohr mattesmohr deleted the make-selected-conditional branch July 25, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant