To dynamically change the language of my application i' trying to use databinding to a viewmodel. It works great on labels and simple texts, but when i bind a button with e.g.
<a data-role="button" data-bind="text: i18n.connect" data-click="app.connectClicked">TEST</a>
I get an error message:
The text binding is not supported by the Button widget
Is there a workaround for this?
TIA
Peter
<a data-role="button" data-bind="text: i18n.connect" data-click="app.connectClicked">TEST</a>
I get an error message:
The text binding is not supported by the Button widget
Is there a workaround for this?
TIA
Peter