function getCombinedFieldValidityData(validityData, invalid) {
  return {
    ...validityData,
    state: {
      ...validityData.state,
      valid: !invalid && validityData.state.valid
    }
  };
}
export {
  getCombinedFieldValidityData
};
//# sourceMappingURL=getCombinedFieldValidityData.js.map
