jamesfredley commented on issue #14246:
URL: https://github.com/apache/grails-core/issues/14246#issuecomment-5065642690

   Thanks for the report. The current Fields implementation on the `8.0.x` line 
applies the resolved prefix to generated input names, and `FieldNamePrefixSpec` 
verifies that `<f:field ... prefix="foo"/>` renders `foo.name`: 
[implementation](https://github.com/apache/grails-core/blob/8.0.x/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy#L710-L720),
 [regression 
coverage](https://github.com/apache/grails-core/blob/8.0.x/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldNamePrefixSpec.groovy#L47-L57).
 Prefix support originated in 
[grails/fields#51](https://github.com/grails/fields/pull/51), merged on March 
7, 2012, and remains present in current Grails 8.0.x. Custom bodies and 
templates still control their own `name` attributes and should use 
`${prefix}${property}`. Closing this as resolved. If default generated 
rendering still ignores `prefix` with the latest Grails version, please reopen 
with a minimal reproducer.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to