Skip to content

Commit

Permalink
Document defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Sep 13, 2024
1 parent 038e355 commit 668a132
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ class FormFieldsTagLib {
* @attr widget Specify the folder inside _fields where to look up for the widget template.
* @attr templates Specify the folder inside _fields where to look up for the wrapper and widget template.
* @attr theme Theme name
* @attr divClass class for optional div that will be added if set and contain the widget
* @attr invalidClass class added to wrapper that if property is invalid. Also available for widget.
* @attr requiredClass class added to wrapper when property is required. Also available for widget.
* @attr css html css attribute for wrapper (default: field-contain)
* @attr divClass class for optional div that will be added if set and contain the widget (default: no div created)
* @attr invalidClass class added to wrapper that if property is invalid. (default: error) Also available for widget.
* @attr requiredClass class added to wrapper when property is required. (default: required) Also available for widget.
*/
def field = { attrs, body ->
attrs = beanStack.innerAttributes + attrs
Expand Down

0 comments on commit 668a132

Please sign in to comment.