Please sign in to comment.
support form html5's required attribute
html5 supports usage of a 'required' attribute to indicate mandatory fields. Previously it was odd behaviour because <g:textField ... required="false"/> in fact creates a mandatory field, because the browser does not look at the value of required attribute, it just uses it's existence. Now the required attribute is only rendered, of the value of attrs.requires evaluates to true
- Loading branch information...
Showing with 28 additions and 0 deletions.