import { getIn } from "final-form";
//#region src/utilities/form/final-form-scroll/findInput.js
const findInput = (inputs, errors) => inputs.find((input) => input.name && getIn(errors, input.name));
//#endregion
export { findInput as default };

//# sourceMappingURL=findInput.mjs.map