Custom DOM id not working

Created on 27 October 2023, about 1 year ago
Updated 30 October 2023, about 1 year ago

The option to provide an id other than "print" of the element to be printed isn't working for me. My choice is being saved properly in the module configuration as well as the printjs block configuration (I haven't tried the Views option), but the click handler on the button always looks for "print", then falls back to print if that's not found in the DOM.

The custom value is making its way into drupalSettings.printjs.printjs_id, but it's still not working.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jmcintyre

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024