You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add generateFieldErrorWithKnownKeys function to use instead of using generateErrorMessage with custom error
constexampleFour={type: "ValidationError",detail: {password: ["Password is too short","Please use only letters and numbers"],message: {body: ["Message body is missing"],attachment: ["Attachment is missing"]}},fallback_message: "This is a random fallback message"};
generateFieldErrorWithKnownKeys("message",knownErrorKeys:["body"])// ["Attachment is missing"]
The text was updated successfully, but these errors were encountered:
Add
generateFieldErrorWithKnownKeys
function to use instead of usinggenerateErrorMessage
with customerror
The text was updated successfully, but these errors were encountered: