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.
This conditional is not needed if the property is also a key in the `select_properties` object.