Created
September 19, 2017 18:45
-
-
Save emorgado/7e09bd50f9dc8dbafb55939405d5f55d to your computer and use it in GitHub Desktop.
Grails fieldsPlugin override select with inLIst constraint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%-- | |
| <pre> | |
| controllerName: ${controllerName} | |
| actionName: ${actionName} | |
| themeName: ${themeName} | |
| superClass: ${superclass} | |
| propertyName: ${propertyName} | |
| propertyType: ${propertyType} | |
| propertySuperclass: ${propertySuperclass} | |
| associationType: ${associationType} | |
| ------------------------------ | |
| bean: ${bean} | |
| property: ${property} | |
| type: ${type} | |
| label: ${label} | |
| value: ${value} | |
| constraints: ${constraints} | |
| persistentProperty: ${persistentProperty} | |
| errors: ${errors} | |
| required: ${errors} | |
| invalid: ${invalid} | |
| prefix: ${prefix} | |
| widget: ${widget} | |
| beanClass: ${beanClass} | |
| associationType: ${associationType} | |
| </pre> | |
| --%> | |
| <g:select name="${property}" | |
| from="${constraints.inList}" | |
| value="${value}" | |
| class="form-control one-to-one" | |
| /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment