By default ui-button uppercase the label. I have tried to use the CSS field and a very basic ui-template (see below) to have it "capitalized" instead but it does not seem to work.
Am I doing something wrong or is that a known problem?
[
{
"id": "97306cc1f138f3a8",
"type": "ui_template",
"z": "555d3e127e247e2f",
"group": "31529018.f1ea8",
"name": "",
"order": 10,
"width": 0,
"height": 0,
"format": "<style>\n.test {\n text-transform: capitalize;\n}\n</style>\n",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": true,
"templateScope": "local",
"className": "",
"x": 480,
"y": 180,
"wires": [
[]
]
},
{
"id": "a2d1951a0b43406f",
"type": "ui_button",
"z": "555d3e127e247e2f",
"name": "",
"group": "31529018.f1ea8",
"order": 17,
"width": 0,
"height": 0,
"passthru": false,
"label": "my button",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "test",
"icon": "",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 320,
"y": 180,
"wires": [
[]
]
},
{
"id": "31529018.f1ea8",
"type": "ui_group",
"name": "Default",
"tab": "111148ee.cdb697",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "111148ee.cdb697",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]