"required" attribute added for a select element