Make dropdown required

There is currently no way of setting `required` on a `select` element with the dropdown ui component.

This will add in the ability to do so.