I am trying to display list of enums in my select component and this works 
well, but i would like to add a blank option and validate that the field has 
been selected by a user (i.e. not the blank option). Reading through the docs 
is seems T5 should support this but I can't seem to get it to display the blank 
option. Have I missed something

Here is my tml:

<select t:type="select" t:blankOption="always" t:blankValue="please select ..." 
t:validate="required" t:value="user.sex" name="select" id="select" 
class="textbox_edit">
                <option></option>
</select>

Toby

Reply via email to