Implementation of the select element