Sha256: b35af04ff9212ecbdd46c896461e4d26defc55a831efa5235ba6ee0eb8c497d9
Contents?: true
Size: 480 Bytes
Versions: 5
Compression:
Stored size: 480 Bytes
Contents
(() => { const application = Stimulus.Application.start() application.register("attachment-picker", class extends Stimulus.Controller { static get targets() { return ["signedBlobId", "filename"] } chooseAttachment(event) { let option = event.currentTarget.options[event.currentTarget.selectedIndex] this.signedBlobIdTarget.value = option.dataset.signedBlobId || "" this.filenameTarget.value = option.dataset.filename || "" } }) })()
Version data entries
5 entries across 5 versions & 1 rubygems