Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-turbo="false" misbehaviour #1282

Open
joff13 opened this issue Jun 28, 2024 · 1 comment
Open

data-turbo="false" misbehaviour #1282

joff13 opened this issue Jun 28, 2024 · 1 comment

Comments

@joff13
Copy link

joff13 commented Jun 28, 2024

Hi

I need to add data-turbo="false" to a button to deal with servin attached bin file (click download an get a pdf)

<button class="some class" data-turbo="false" type="submit" value="generate_my_pdf" name="generate_pdf">download</button>

but adding data-turbo="false"

the post request is done withou value and name

it's a bug? am I missing something ?

thanks
C

@4lllex
Copy link

4lllex commented Aug 18, 2024

You might want to add some more details. Seems to post with name and value:

Parameters: {"authenticity_token"=>"[FILTERED]", "generate_pdf"=>"generate_my_pdf"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants