-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[BC Break] React Hook Form #7087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
a2794c5
Add react-hook-form dependency
djhi b98b1f4
Migrate FormWithRedirect to react-hook-form
djhi 657e029
Fix side effects and warnings in simple example
djhi 9dfaf4e
Migrate useInput
djhi 96e282d
MIgrate useFormGroup
djhi fac84a1
Update choices hooks
djhi 1ae47b4
Update exports
djhi 03e1bce
Update form components
djhi c5f09f1
Upgrade guide todo
djhi 1bc9b53
Fix for validation
djhi 53af961
Fix useWarnWhenUnsavedChanges
djhi b7d0348
Fix forms
djhi 746b9e6
Simplify UserCreate
djhi 7b4f994
Fix ResettableTextField, TextInput and SelectInput
djhi 30a20d9
Fix BooleanInput
djhi 6581925
Apply format & parse in useInput
djhi 72fa325
Fix NullableBooleanInput
djhi cb21b41
Add tests for useInput format & parse
djhi e63966a
Fix FilterForm
djhi 08532da
Fix tests to use AdminContext instead of CoreAdminContext
djhi 4adbdc2
Fix DateInput
djhi 6b8bcb5
Migrate DateTimeInput
djhi 74feef7
Migrate CheckboxGroupInput
djhi a291230
Add missing file for CommonInputProps
djhi 0c42654
Migrate NumberInput
djhi 4e0e7a0
Migrate RadioButtonGroupInput
djhi bf066cd
Migrate SearchInput
djhi ca30a3e
Fix common components
djhi f2763f3
Fix simple example configuration
djhi 410a506
Fix useReferenceInputController
djhi 10cd9b4
Migrate ReferenceInput
djhi d8f1467
Fix simple example Comment with posts reference
djhi 7f91af9
Migrate Autocomplete inputs
djhi a69a9a9
Better CommonInputProps
djhi 0288565
Fix SelectInput sanitization & common sanitize
djhi be0fd8e
Fix ReferenceInput
djhi 1a8236c
Migrate SelectArrayInput
djhi 5b9d92f
Fix choices related hooks
djhi 2de38c9
Migrate FormDataConsumer
djhi 3e41aef
Ensure Form submit don't propagate to upper forms
djhi a75a81e
Fix BooleanInput styles
djhi 8ca98d2
Migrate RichTextInput
djhi 85eb5a3
Migrate FileInput and ImageInput
djhi e47e0e9
Migrate ReferenceArrayInput
djhi 0c01996
Fix Datagrid warnings
djhi 24316bd
Fix TranslatableInputs
djhi 0fa8c45
Revert unnecessary changes for this PR
djhi 81a9087
Migrate ArrayInput
djhi d8eb7f4
Fix delete buttons tests
djhi 562e5c4
Update react-hook-form
djhi 96fdc2a
Fix BooleanInput name attribute
djhi d3dec66
Fix default values and create view title
djhi 712e359
Fix toolbar access to record
djhi e93df1d
Migrate ArrayInput
djhi d5f5aa0
Fix simple example
djhi 3e6de27
Fix custom form e2e tests
djhi fb12266
Migrate more e2e tests
djhi 24ceb52
Fix wrong rebase
djhi 48c6292
Fix FileInput
djhi a5b742e
Fix ImageInput
djhi 07435fd
Fix RichTextInput
djhi 8dc875f
Fix FormWithRedirect props
djhi 0c03303
Fix ra-no-code
djhi d081a90
Fix warnings in choices inputs
b33ad8f
Fix FileInput tests
c40a074
Fix FilterForm
6764d61
Remove warnings in SaveButton tests
e8bfa1e
Fix FormTab warnings in tests
e163e5e
Fix linter warning
d130415
Fix validation
3c7c04f
Remove react-hook-form devtool
1a2a769
Fix default values
6a4254a
Fix edit and list e2e tests
8127406
Fix edit e2e tests
2f6bc25
More submit trick in e2e tests
9f527c8
Restore DateTimeInput test
bae1fb2
Fix choices inputs source prop
f4cdf3d
Fix FormWithRedirect submit handler
0e9c375
Fix CloneButton types
ea9de80
Fix simple example conpilation
e73070d
Fix input common props
8dccee0
Fix demo
e6247ba
Rename FormWithRedirect to Form
4907772
Update upgrade guide
d3ec691
Update Login Forms
4442dd4
Remove most references to final-form
21de5ad
Fix default validation mode
b88455a
Fix edit e2e tests
7f912bc
Update UPGRADE guide for useInput
a1a771f
More cleanup
4292c5d
Update documentation
99d9059
Fix unnecessary async
abf8558
Fix typo in upgrade guide
djhi b3f8cf1
Fix demo build
182cfaf
Add support for submission validation
f890d1c
Update documentation
ecd3ec5
Merge branch 'next' into react-hook-form
djhi 1e88780
Apply suggestions from code review
djhi b3ac87f
Cleanup e2e test files
c887025
Rename Form Types
8f29c90
Cleanup linter warnings
3d31c67
Upgrade react-hook-form and fix demos by marking react-hook-form as e…
1938a34
Restore tests
b213f45
Apply review
a3dd55b
Less paranoid build commands
fb6d1f9
Fix build
4e480ef
Restore sanitizeEmtyValues tests
f62a515
Fix linter warnings
cff7200
Fix Filters
417cf31
Fix CRM demo
d4f1ce9
Remove references to final-form
3247b4c
Fix TextInput Does Not Pass Event Handlers
bb3a8d2
Fix filters
af6f82f
Fix demo login styles
d4a06a4
Fix demo usage of record
e221837
Review
fzaninotto 93c444c
Fix products links in CategoryEdit
820e8b2
Fix ArrayInput does not support null values
5616245
Merge branch 'next' into react-hook-form
djhi e500715
Fix tests
d68b60b
Remove unnecessary async
8bd88de
Update examples/simple/src/data.tsx
djhi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.