about SelectionScopeField,Is there a bug? In iTwin.js 3.1.0-dev.6 version #3076
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
As far as I can tell, the component takes the scopes' list from |
Beta Was this translation helpful? Give feedback.
-
@shenshengyi - You should be calling UiFramework.setIModelConnection each time you open a new IModel. In 3.0 this method will then call SyncUiEventDispatcher.initializeConnectionEvents which internally calls Presentation.selection.scopes.getSelectionScopes and updates the Redux store triggering an event which should cause the UI to refresh. |
Beta Was this translation helpful? Give feedback.
@shenshengyi - You should be calling UiFramework.setIModelConnection each time you open a new IModel. In 3.0 this method will then call SyncUiEventDispatcher.initializeConnectionEvents which internally calls Presentation.selection.scopes.getSelectionScopes and updates the Redux store triggering an event which should cause the UI to refresh.