Grails 3.2.2 Select Options from Domain Constraints

Viewed 243

Is it possible to fill the options of a <select> with the availables options in a domain's constraints

static constraints = {
    variable(inList: ["value1", "value2", "value3"])
}
1 Answers
Related