feat: dependent fields (#839)
This commit is contained in:
committed by
GitHub
parent
0dc7576bb4
commit
654263dd6f
@ -49,7 +49,6 @@ interface SortableItemProps {
|
||||
submitted: boolean;
|
||||
disabled: boolean;
|
||||
duplicate: boolean;
|
||||
hidden: boolean;
|
||||
locale: string | undefined;
|
||||
path: string;
|
||||
value: Record<string, ObjectValue>;
|
||||
@ -68,7 +67,6 @@ const SortableItem: FC<SortableItemProps> = ({
|
||||
submitted,
|
||||
disabled,
|
||||
duplicate,
|
||||
hidden,
|
||||
locale,
|
||||
path,
|
||||
i18n,
|
||||
@ -112,7 +110,6 @@ const SortableItem: FC<SortableItemProps> = ({
|
||||
submitted={submitted}
|
||||
disabled={disabled}
|
||||
duplicate={duplicate}
|
||||
hidden={hidden}
|
||||
locale={locale}
|
||||
path={path}
|
||||
value={item}
|
||||
@ -185,7 +182,6 @@ const ListControl: FC<WidgetControlProps<ValueOrNestedValue[], ListField>> = pro
|
||||
submitted,
|
||||
disabled,
|
||||
duplicate,
|
||||
hidden,
|
||||
locale,
|
||||
path,
|
||||
value,
|
||||
@ -346,7 +342,6 @@ const ListControl: FC<WidgetControlProps<ValueOrNestedValue[], ListField>> = pro
|
||||
submitted={submitted}
|
||||
disabled={disabled}
|
||||
duplicate={duplicate}
|
||||
hidden={hidden}
|
||||
locale={locale}
|
||||
path={path}
|
||||
value={item as Record<string, ObjectValue>}
|
||||
|
@ -69,7 +69,6 @@ interface ListItemProps
|
||||
| 'submitted'
|
||||
| 'disabled'
|
||||
| 'duplicate'
|
||||
| 'hidden'
|
||||
| 'locale'
|
||||
| 'path'
|
||||
| 'value'
|
||||
@ -91,7 +90,6 @@ const ListItem: FC<ListItemProps> = ({
|
||||
submitted,
|
||||
disabled,
|
||||
duplicate,
|
||||
hidden,
|
||||
locale,
|
||||
path,
|
||||
valueType,
|
||||
@ -206,7 +204,6 @@ const ListItem: FC<ListItemProps> = ({
|
||||
parentPath={path}
|
||||
disabled={disabled || duplicate}
|
||||
parentDuplicate={duplicate}
|
||||
parentHidden={hidden}
|
||||
locale={locale}
|
||||
i18n={i18n}
|
||||
forList={true}
|
||||
|
@ -16,7 +16,6 @@ const ObjectControl: FC<WidgetControlProps<ObjectValue, ObjectField>> = ({
|
||||
forList,
|
||||
forSingleList,
|
||||
duplicate,
|
||||
hidden,
|
||||
locale,
|
||||
path,
|
||||
i18n,
|
||||
@ -57,7 +56,6 @@ const ObjectControl: FC<WidgetControlProps<ObjectValue, ObjectField>> = ({
|
||||
parentPath={parentPath}
|
||||
disabled={disabled || duplicate}
|
||||
parentDuplicate={duplicate}
|
||||
parentHidden={hidden}
|
||||
locale={locale}
|
||||
i18n={i18n}
|
||||
forSingleList={forSingleList}
|
||||
@ -74,7 +72,6 @@ const ObjectControl: FC<WidgetControlProps<ObjectValue, ObjectField>> = ({
|
||||
submitted,
|
||||
disabled,
|
||||
duplicate,
|
||||
hidden,
|
||||
locale,
|
||||
i18n,
|
||||
forSingleList,
|
||||
|
Reference in New Issue
Block a user