-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: occurrence creation and edit view
KK-1049. The React-admin plugin has a special handling for validation in the useInput-hook. That is there to prevent handling the translations to be handled twice -- once by React-admin and once by the input functions I suppose. To fix the translation of the validation error message, a special handler was needed to be used with the BoundedTextField. Also, the occurrence edit and create views were broken, because the validation function was set as a property for a ReferenceInput (of React-admin), which no longer has such a property.
- Loading branch information
1 parent
8683033
commit 0a9353c
Showing
3 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters