Skip to content

Commit 1bab360

Browse files
authored
Update article.md
Добавлено свойство value в описании option.
1 parent 4d6bf6e commit 1bab360

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

2-ui/4-forms-controls/1-form-elements/article.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ let option = new Option("Текст", "value", true, true);
267267
`option.index`
268268
: Номер опции среди других в списке `<select>`.
269269

270+
`option.value`
271+
: Значение опции.
272+
270273
`option.text`
271274
: Содержимое опции (то, что видит посетитель).
272275

0 commit comments

Comments
 (0)