Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.6.0 RC, 5.7.0 Alpha
-
None
Description
This is a regression compared to Controls 1. In Controls 2, StackView.initialitem is not equivalent to Component.onCompleted: stackView.push(myInitialItem).
from the documentation:
InitialItem : var
This property holds the initial item that should be shown when the StackView is created. The initial item can be an Item, Component, or a url. Specifying an initial item is equivalent to:Component.onCompleted: stackView.push(myInitialItem)