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.
recipeFormErrors - Helpers for translating react-hook-form errors into the legacy
missingElementsstring 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 fromform.formState.errors, deduplicates, and runs them throught()for display.