Open joff13 opened 4 months ago
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
You might want to add some more details. Seems to post with name and value:
Parameters: {"authenticity_token"=>"[FILTERED]", "generate_pdf"=>"generate_my_pdf"}
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