Open pbb6w7 opened 10 years ago
I should probably clarify - the way the renderEditor.template is right now it renders the <g:select ...> tag with two class attributes and the first one seems to be ignored (for example the many-to-many):
<g:select class="form-control" name="name" from="form" multiple="multiple" optionKey="id" size="5" required="" value="value" class="many-to-many"/>
where the
class="form-control"
appears in the beginning of the tag, and the
class="many-to-many"
appears at the end. The browser then seems to disregard the first class attribute (granted tested only in Chrome)
The class="form-control" is overwritten (if I may use the term as its not exactly on override) in the following places causing the g:select tag to render only the second class element. For the lines outlined below the form-control needs to be incorporated in the appropriate following line. The current code cause the g:select tag to ignore the class="form-control"
One:
Two:
Three: a)
b)