Drupal 8 Dirty Forms

Categories

Component ID

2707279

Component name

Drupal 8 Dirty Forms

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module implements the Dirty Forms jQuery Library (https://github.com/snikch/jquery.dirtyforms) for Drupal 8 and CKEditor. The module is a simple implementation that currently requires no configuration other than the enabling of the module.

The module loads on all node forms by default, and monitors user actions. If the user changes anything on the form, and then attempts to navigate away from the form without saving (either via a browser reload, direction, or new URL) it will pop an alert up that warns them they have unsaved content.