Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Missing prevent from abandonment support #74

Open
Lednerb opened this issue Apr 23, 2021 · 0 comments
Open

Missing prevent from abandonment support #74

Lednerb opened this issue Apr 23, 2021 · 0 comments

Comments

@Lednerb
Copy link

Lednerb commented Apr 23, 2021

At the moment the plugin does not support the $preventFromAbandonment functionality:

    /**
     * Indicates whether Nova should prevent the user from leaving an unsaved form, losing their data.
     *
     * @var bool
     */
    public static $preventFormAbandonment = true;

Steps to reporduce:

  • Enable the above setting in the resource with a containing Froala-Field
  • Edit only the Froala content and try to leave the page
  • Page leave is possible without the alert window

It would be useful if this functionality can be added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant