I can Run the JavaScript to COPY from an input element, no problem.
But it doesn’t work on a MultiplineInput element, Custom state
(nothing is copied)
any idea?
I can Run the JavaScript to COPY from an input element, no problem.
But it doesn’t work on a MultiplineInput element, Custom state
(nothing is copied)
any idea?
There are copy to clipboard plugins that handle this pretty well. Try that.
Hey, you can send the value from a multiline input to the clipboard with the following code snippet.
navigator.clipboard.writeText(document.querySelector('#text-area1').value)
where text-area1 is a ID you have to define on the multiline element.
(need to enable adding IDs to elements on settings)
This topic was automatically closed after 70 days. New replies are no longer allowed.