Skip to content

Commit 3d7abb9

Browse files
authored
Merge pull request #3822 from vincent-clipet/fix/missing_parenthesis
Fixed missing closing parenthesis
2 parents 1dce5b7 + 4b3474b commit 3d7abb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ This syntax is optional. We can use `document.createElement('option')` and set a
244244
- `defaultSelected` -- if `true`, then `selected` HTML-attribute is created,
245245
- `selected` -- if `true`, then the option is selected.
246246
247-
The difference between `defaultSelected` and `selected` is that `defaultSelected` sets the HTML-attribute (that we can get using `option.getAttribute('selected')`, while `selected` sets whether the option is selected or not.
247+
The difference between `defaultSelected` and `selected` is that `defaultSelected` sets the HTML-attribute (that we can get using `option.getAttribute('selected')`), while `selected` sets whether the option is selected or not.
248248
249249
In practice, one should usually set _both_ values to `true` or `false`. (Or, simply omit them; both default to `false`.)
250250

0 commit comments

Comments
 (0)