[1.30.10] Button inside SegmentedButton visible=false issue
Using a button like
<SegmentedButton>
<Button visible="{device>/isNoPhone}" text="Button" />
</SegmentedButton>
always renders the child button!
In the chrome ui5 inspector you can see, that property visible : false
seems to be a render bug.
Best regards Holger
Hi Holger,
Issue is reproducible here http://jsbin.com/ruxihitatu/1/edit?html,js,output Internal incident 1580175895 has been created for this.
Regards, Cahit
Nice JSBIN Frag! Copied for further tickets ;-)
Regards, Holger
Hi Holger,
Transforming this to enhancement (feature request), because the SegmentedButton "buttons" aggregation is supposed to be used only as an interface for the buttons displayed by the control and as the api documentation states: Only the properties ID, icon, text, enabled and textDirections of the Button control are evaluated. Setting other properties of the button will have no effect.
Other than that the "buttons" aggregation is deprecated and is better to use the new "items" aggregation which accepts "SegmentedButtonItem".
Best regards, Daniel