final-form / final-form/react-final-form

Bug: i18next language change doesn't update validation messages

Open
#609 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

### Bug report

### Current behavior

Changing language doesn't triggers a language change in already present validation errors. CodeSandbox example: [https://codesandbox.io/s/final-form-i18next-fgl1o](https://codesandbox.io/s/final-form-i18next-fgl1o)

To actually reproduce the bug, click on the field without entering a value to make the validation error appear, then switch language with the top button.

### Expected behavior

Rerender or provide a way to force rerendering the field when language changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.