JSFiddle - React, Tailwind, and code Playground
JavaScript
const {name, schema, argument, property, stack} = error;
errorObj.addProperty(property.substr(RM), name, schema, argument, stack.substr(RM));
inputErrors.push(errorObj.properties[requiredParameter]);