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
Describe the bug
We (the Substation team) are trying to update a widget's label after it has been loaded. Our use case is, that we have 3 widgets: A, B and C. A and B are the top widgets in the same panel and C is the bottom widget in the same panel. When A is opened we want to set C's label to "equipment browser" and when B is opened we want it to change to "parts browser". I tried to implement it using ConditionalStringValue but it didn't quite work.
As a workaround, it was suggested to use the setLabel method on Uiframework.frontstages.activeFrontstageDef.findWidgetDef(id: string).
Expected behavior
The widget label should automatically update when using the ConditionalStringValue and when the event is triggered.
iTwin.js AppUI Version: 4.6.1
iTwin.js Version: 4.2.4
The text was updated successfully, but these errors were encountered:
Describe the bug
We (the Substation team) are trying to update a widget's label after it has been loaded. Our use case is, that we have 3 widgets: A, B and C. A and B are the top widgets in the same panel and C is the bottom widget in the same panel. When A is opened we want to set C's label to "equipment browser" and when B is opened we want it to change to "parts browser". I tried to implement it using
ConditionalStringValue
but it didn't quite work.As a workaround, it was suggested to use the
setLabel
method onUiframework.frontstages.activeFrontstageDef.findWidgetDef(id: string)
.Expected behavior
The widget label should automatically update when using the
ConditionalStringValue
and when the event is triggered.The text was updated successfully, but these errors were encountered: