Added `required` support for `select`