We need to display a modal dialog without any buttons on the bottom.
We used to set buttons to empty array to achieve that - here is a simplified version of our code::
Starting from 13.1, this stopped working, throwing an exception (see devTools screenshot for details where it fails).
I found in docs that there is a `showToolbar` property, but setting it to false does not seem to have any affect on the modal dialog.
As a temporary W/A I found that I can pass a LayoutSpacer as the only entry in the buttons array, but I think you should fix the bug and either support passing an empty buttons array as before or hide the buttons if showToolbar is set to false.
Regards
Gil
We used to set buttons to empty array to achieve that - here is a simplified version of our code::
Code:
isc.say( "message with no button", null, { buttons: [] });
I found in docs that there is a `showToolbar` property, but setting it to false does not seem to have any affect on the modal dialog.
As a temporary W/A I found that I can pass a LayoutSpacer as the only entry in the buttons array, but I think you should fix the bug and either support passing an empty buttons array as before or hide the buttons if showToolbar is set to false.
Code:
isc.say( "message with no button", null, { showToolbar: false });
Gil
Comment