You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OrchestratorFormApi implementation is wrapped within `WrapperFormPropsContext` to get access to i.e. recent UI schema, schemaUpdater or other-fields form data which can be used for data fetching or validation.
42
+
43
+
Use `useWrapperFormPropsContext()` hook to access the context.
const widgets = {CountryWidget}; // CountryWidget needs to be implemneted and imported
51
+
const widgets = {CountryWidget}; // CountryWidget needs to be implemented and imported
46
52
return () => <FormComponentwidgets={widgets} />;
47
53
};
48
54
}
@@ -131,6 +137,6 @@ The `orchestrator-form-react` plugin handles the following key tasks:
131
137
132
138
- **Organizing Forms into Wizard-Style Steps:** If the schema is an object containing nested objects (i.e., the root is an object, and its properties are also objects), the plugin organizes the form into multiple steps. Each nested object becomes a separate step in a wizard-style interface. For example, the schema provided above results in two steps: _Personal Details_ and _Contact Details_.
133
139
134
-
The [`orchestrator-form-react`](https://github.com/redhat-developer/rhdh-plugins/tree/main/workspaces/orchestrator/plugins/orchestrator-form-react) plugin is designed to operate independently of the main orchestrator plugin. This modularity allows developers to test and validate form behavior in a standalone Backstage development environment before integrating it with the full orchestrator setup.
140
+
The [`orchestrator-form-react`](https://github.com/janus-idp/backstage-plugins/tree/main/plugins/orchestrator-form-react) plugin is designed to operate independently of the main orchestrator plugin. This modularity allows developers to test and validate form behavior in a standalone Backstage development environment before integrating it with the full orchestrator setup.
135
141
136
142
To use this plugin, add the `@red-hat-developer-hub/backstage-plugin-orchestrator-form-react` package as a dependency in your project.
0 commit comments