Last active
March 31, 2024 18:42
-
-
Save pointofpresence/db7bbd84243cccd2c919c78ba206890c to your computer and use it in GitHub Desktop.
HTML: Тег select с мультивыбором
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
// В атрибут value можно передать массив, что позволит выбрать несколько опций в теге select: | |
<select multiple={true} value={['Б', 'В']} | |
// Boolean attribute 'multiple' indicates that multiple options can be selected in the list. | |
// If it is not specified, then only one option can be selected at a time. When `multiple` is | |
// specified, most browsers will show a scrolling list box instead of a single line dropdown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment