Closed Hann1bal closed 1 month ago
Hey @Hann1bal
I just checked with default HTML Button with download
attribute which didn't worked for me..
Here is an Example which have the download attribute but when you click on button, it's not working at all.
the download
attribute works on anchor tag, not on button.
Hey @Hann1bal
I just checked with default HTML Button with
download
attribute which didn't worked for me..Here is an Example which have the download attribute but when you click on button, it's not working at all.
the
download
attribute works on anchor tag, not on button.
Do u use the blob or something else? In few hour I can share example.
This can be easily solved by casting the Button
component as "a"
or as Link
component if using a framework such as Next.js.
Before:
After
as="a"
as={Link}
Button itself does not have download
attribute by nature, just like @dhavalveera mentioned earlier.
Button itself does not have
download
attribute by nature, just like @dhavalveera mentioned earlier.
Thank you. It's work.
Steps to reproduce
Current behavior
I write button for downloading buffered data and it's working but i can't compile. I got the error:
Expected behavior
In default html button exist "download" attribute .