Có cách nào để hiển thị nhiều hơn một tên trường trong optionValue không?Chúng ta có thể có nhiều trường trong g: chọn optionValue không?
<g:select name="id" from="${Books.list()}" optionKey="id"
value="" optionValue="name"
noSelection="${['null':'Select Publisher...']}"/>
expe:
<g:select name="id" from="${Books.list()}" optionKey="id"
value="" optionValue="name and author"
noSelection="${['null':'Select Publisher...']}"/>
thanksDaniel Engmann – Honey