how can i set <input type="file">
value from dynamic canvas?
i tried $('input[type=file]').val(canvas.toDataUrl());
but nothing works and throw error like this one
Uncaught InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.