The JS library should be attached only to forms but not to other pages

Created on 9 November 2023, 8 months ago

The JS library should be attached only to forms but not to other pages.

Proposed solution

Attach the JS library in the "hook_form_alter()" instead of the "hook_page_attachments()".

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.69.0 2024