function widgetChangeErrors(errors) {
			return shiftArrayErrorsKeys(errors, {
				arrayKey: schema.key,
				minIndex: indexToRemove,
				shouldRemoveIndex: index => index === indexToRemove,
				getNextIndex: index => index - 1,
			});
		}
// shift up the items errors after the one we remove
shift up the items errors after the one we remove
shift up the items errors after the one we remove
function widgetChangeErrors(errors) {
			return shiftArrayErrorsKeys(errors, {
				arrayKey: schema.key,
				minIndex: indexToRemove,
				shouldRemoveIndex: index => index === indexToRemove,
				getNextIndex: index => index - 1,
			});
		}
function widgetChangeErrors ( errors ) { return shiftArrayErrorsKeys ( errors , { arrayKey : schema . key , minIndex : indexToRemove , shouldRemoveIndex : index => index === indexToRemove , getNextIndex : index => index - 1 , } ) ; }
shift up the items errors after the one we remove
shift up the items errors after the one we remove