Preparing search index...

    Module utils/recipeFormErrors

    recipeFormErrors - Helpers for translating react-hook-form errors into the legacy missingElements string array used by the existing validation dialog flow.

    Recipe form validation now lives in recipeFormSchema. The schema sets each field's error message to an i18n key (e.g. alerts.missingElements.titleRecipe). At submit time the screen collects every leaf error message from form.formState.errors, deduplicates, and runs them through t() for display.

    markAllRecipeFieldsTouched
    collectMissingElementsFromErrors
    inlineMessage
    firstErrorMessage
    hasErrorMessage
    isNestedDirty