Set Parent Component Object Properties
This node updates multiple properties of the parent component's state object.
The Set Parent Component Object Properties node allows a child to modify its container's state.
The Set Parent Component Object Properties node functions exactly like Set Component Object Properties, but it targets the nearest parent component that has a state object.
Inputs
Properties
| Data | Description |
|---|---|
| Properties | Comma-separated list of properties to update on the parent. |
Property Values
| Data | Description |
|---|---|
| * | Dynamic inputs for the values to set. |
Actions
| Signal | Description |
|---|---|
| Do | Triggers the update. |
Outputs
Events
| Signal | Description |
|---|---|
| Done | Triggered when the update is complete. |
Usage
Use this to bubble up events or data changes to a parent container.
Example: Form Input
- Parent (Form): Holds state
formData. - Child (Input Field):
- On text change, use Set Parent Component Object Properties to update
formData.
- On text change, use Set Parent Component Object Properties to update
Detailed Behavior
- Search: Traverses up the visual tree to find the parent state scope.
Troubleshooting
- No Parent: Fails silently if no parent component with state is found.