I have the following dxButton element.
<div class="dx-field-value" data-bind="dxButton: { text: name, onClick: $root.name }"></div>
The text of the button is being assigned via the variable name
. Now, I want the button text to be always uppercase
for this specific element only.
I have tried setting an id and a class for it, and create custom css however it did not work. I have also tried inline styling as follows:
<div class="dx-field-value" style="text-transform: uppercase;" data-bind="dxButton: { text: 'Text' }"></div>