Skip to content

Commit

Permalink
fix(forms): small naming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekys committed Mar 1, 2024
1 parent fa0b7c2 commit c5579b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ export const BaseFormLayout = ({ formikProps }) => {
</Overridable>
</Sticky>
<Overridable
id={buildUID(overridableIdPrefix, "InputFields.container")}
id={buildUID(overridableIdPrefix, "FormFields.container")}
record={record}
>
<>
<pre>
Add your form input fields here by overriding{" "}
{buildUID(overridableIdPrefix, "FormApp.inputs")} component
{buildUID(overridableIdPrefix, "FormFields.container")} component
</pre>
<FormikStateLogger render={true} />
</>
Expand All @@ -56,6 +57,7 @@ export const BaseFormLayout = ({ formikProps }) => {
<Sticky context={sidebarRef} offset={20}>
<Overridable
id={buildUID(overridableIdPrefix, "FormActions.container")}
record={record}
>
<Card fluid>
<Card.Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export * from "./PublishButton";
export * from "./SaveButton";
export * from "./ValidateButton";
export * from "./ConfirmationModal";
export * from "./BaseFormLayout";
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const overridableComponentIds = [
"Errors.container",
"FormActions.container",
"FormApp.inputs",
"FormApp.layout",
"InputFields.container",
]
"Errors.container",
"FormActions.container",
"FormApp.layout",
"FormFields.container",
];

0 comments on commit c5579b5

Please sign in to comment.