When using a select.tagx (combobox / FilteringSelect) we are unable to have a field not be set. These fields are not required for our domain objects, but once we have available options in the combobox we are not able to send a <null> value to the server for that field.
With disableFormBinding set to true, we tried to add an extra option. When we tried this we were unable to set the default selected value. The dijit is looking for
But if it doesn't look like
<option ... selected>value</option>
spring starts to throw stack traces.
<option .. selected="selected">value</option>
org.apache.jasper.JasperException: /WEB-INF/tags/form/fields/select.tagx(63,65) Attribute name "selected" associated with an element type "option" must be followed by the ' = ' character.
How can we make a combobox not required?