Skip to content

feat: add formikConfig prop to DepositBootstrap#2292

Open
Ducica wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:oarepo-contribution-formik-config
Open

feat: add formikConfig prop to DepositBootstrap#2292
Ducica wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:oarepo-contribution-formik-config

Conversation

@Ducica
Copy link
Copy Markdown
Contributor

@Ducica Ducica commented Mar 30, 2026

Allow passing additional Formik configuration options to BaseForm via a new formikConfig prop. The object is spread at the end of the formik config, allowing overrides of default settings.

❤️ Thank you for your contribution!

Description

When using DepositBootstrap component, it is not possible to modify formik configuration in any way i.e. not possible to pass validationSchema or a ref to formik. Ref is especially useful, when you want to access state from a component not nested inside formik. I think it is a useful change without any downsides. Please let us know.

Allow passing additional Formik configuration options to BaseForm
via a new formikConfig prop. The object is spread at the end of the
formik config, allowing overrides of default settings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Ducica Ducica added this to v14 Mar 30, 2026
@Ducica Ducica moved this to Triage in v14 Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant