Skip to content

Inability to check if the current entry pass all validations #2235

@HQ063

Description

@HQ063

I think it will be really useful to be able to call sdk.entry.isValid() or something among that, to see if the current entry being edited pass al validations, the same way it's used on the publish button for enable/disabled state. I tried to find an alternative way by traversing through all fields on the entry an callinggetSchemaErrors on each of them, but that method is also not available through sdk.entry.fields[fieldName], so I can't call it on all fields. I'm building a sidebar app and I need to be able to check if the entry is valid, and even better if I can get all the validation errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions