Skip to content

Validate before opening draft preview #106

Open
@cannorin

Description

@cannorin

Strapi allows draft entries not to have all the required fields, which is great since users can save an unfinished entry as a draft and finish it later.

However with this plugin, users can try to open a preview of a draft entry, which may lack the fields needed to display the preview page correctly (e.g. the content of the page). I can workaround this by adding error messages to my frontend app, but it should be more intuitive for users to fail early and display validation errors on Strapi.

This may be difficult to implement however, as I can find someone on the official forum who are struggling to trigger validation from their plugin: https://forum.strapi.io/t/trigger-validation/17103.

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestRequest for a feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions