Migrating an older Grails project to 5.x, I found, that every
Domain:
static constraints = {
myField inList: [1, 2, 3, 4, 5, 9]
}
GSP:
<g:select ... from=${MyDomain.constraints.myField.inList} ... />
doesn't work anymore.
Is there a way to replace it? Or how should I replace it?
BTW.: If a Grails-Maintainer read this, I would avoid using the field-plugin in standard-configuration. For new users etc. I think it's a lot easier to modify the pages like in grails 1+2. YMMV...