Is your feature request related to a problem? Please describe.Cloudflare Turnstile (CAPTCHA) injects a form <input> that has the name cf-turnstile-response which isn't a valid rust ident.
When using the <ActionForm/> (important for progressive degradation) I would need to do this, which obviously isn't possible:
Describe alternatives you've considered
I'm realizing now that there is a data-response-field-name attribute that will override the form param name on the client side, so I'm unblocked on this. However, I still think this would be a useful feature for those times when it isn't possible.
Is your feature request related to a problem? Please describe. Cloudflare Turnstile (CAPTCHA) injects a form
<input>
that has the namecf-turnstile-response
which isn't a valid rust ident. When using the<ActionForm/>
(important for progressive degradation) I would need to do this, which obviously isn't possible:Describe the solution you'd like A serialization rename attribute for server function params.
Describe alternatives you've considered I'm realizing now that there is a
data-response-field-name
attribute that will override the form param name on the client side, so I'm unblocked on this. However, I still think this would be a useful feature for those times when it isn't possible.