refactor: use react-hook-form for Field type config forms (#5326)
Closes #4295 Note: for the sake of an easier code review, I did not rename/move some files and added "todo" comments instead so Github is able to match those files with their previous version.
This commit is contained in:
@ -35,14 +35,14 @@ export const formatRelationMetadataInput = (
|
||||
const {
|
||||
description: fromDescription,
|
||||
icon: fromIcon,
|
||||
label: fromLabel,
|
||||
name: fromName,
|
||||
label: fromLabel = '',
|
||||
name: fromName = '',
|
||||
} = formatFieldMetadataItemInput(fromField);
|
||||
const {
|
||||
description: toDescription,
|
||||
icon: toIcon,
|
||||
label: toLabel,
|
||||
name: toName,
|
||||
label: toLabel = '',
|
||||
name: toName = '',
|
||||
} = formatFieldMetadataItemInput(toField);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user