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.
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 callinggetSchemaErrorson each of them, but that method is also not available throughsdk.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.