-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple selected options inside <select>s with the `multiple` attribute. Instead of checking equality using `=`, a `selected?` function is implemented that checks whether the current value being rendered is found inside `selected`, which can be a sequence, a function, or a single value.
- Loading branch information
Xuan Wu
committed
Feb 4, 2024
1 parent
92f18b7
commit eac8da7
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters