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

This updates a small grammar error and adds some helpful info. Hoping it's better now. Let me know if you need any more changes and I'll update it immediately.
This commit is contained in:
Dorell James 2020-10-13 00:07:01 +08:00 committed by GitHub
parent 1431a2552e
commit bb703101b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,7 +205,9 @@ Here is an example:
</script>
```
Unlike most other controls, `<select>` allows to select multiple options at once if it has `multiple` attribute. That's feature is rarely used. In that case we need to use the first way: add/remove the `selected` property from `<option>` subelements.
Unlike most other controls, `<select>` allows to select multiple options at once if it has `multiple` attribute. Although such functionality is available, it is rarely used because of the different ways of doing the selection which vary in different operating systems and browser. And also, because you have to inform the user that multiple selection is available, it is more user-friendly to use checkboxes instead.
In cases that you have to, then use the first way: add/remove the `selected` property from `<option>` subelements.
We can get their collection as `select.options`, for instance: