Button.text property does not change visible text of a button

Possible bug.
Once the text of a button is created it cannot be changed.
var button = BABYLON.GUI.Button.CreateSimpleButton(“showHistory_button”, “I refuse to change” );

So, button.text = “blah blah” will not change the original text of the button from “I resuse to change to” blah blah".
Here is a demo and a workaround using a button caption.

Button.text does not exist, it should be
button.textBlock.text = “blah blah”

1 Like

oops! Thanks so much. My silly mistake.