robfletcher/grails-fields — pull request #62 by guspower (2012-03-19 15:04:52+00:00)
Title: Functional Test And Small Documentation Update For Passing Params Through To Default Tags

O Hai,

I wanted to use optionKey/optionValue with a select field. I noticed that the plugin does support this via attributes prefixed with 'input-' but could not see it mentioned in the docs. I added a small section describing this behaviour and a functional test case to prove it in the sample scaffolding project.

Is it intentional that f:field parses attributes prefixed wiith 'input-' but f:input just passes on the attributes as-is? I'm assuming it's just to be more specific between the field and the label?

Gus