Actions
Bug #1145
closedsetObjectName with Umlauts causes javascript error
Start date:
01/24/2012
Due date:
% Done:
0%
Estimated time:
Description
@auto btnEdit = new WPushButton("Ändern...", root());
btnEdit->setObjectName("Ändern...");
btnEdit->clicked().connect(std::bind([btnEdit]{
btnEdit->setDisabled(true);
}));@
When clicking the button
"Wt internal error: TypeError: j4 is undefined, code: undefined, description: undefined" occurs
Updated by Koen Deforche almost 13 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.2.1
Hey,
There are indeed restrictions to the characters allowed in the object name and widget ID.
Only letters ([A-Za-z]), digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".") are allowed.
We've clarified this in the documentation now.
Regards,
koen
Actions