Actions
Bug #2409
closedWDateEdit->date().isValid() ... inconsistent return when WDateEdit object has PlaceholderText set
Start date:
11/14/2013
Due date:
% Done:
0%
Estimated time:
Description
this->setTheme(new Wt::WBootstrapTheme);
Wt::WContainerWidget* root = this->root();
Wt::WDateEdit* dte1 = new Wt::WDateEdit(root);
dte1->setPlaceholderText("EmptyText");
new Wt::WBreak(root);
Wt::WDateEdit* dte2 = new Wt::WDateEdit(root);
new Wt::WBreak(root);
Wt::WPushButton* evaluate = new Wt::WPushButton("Evaluate",root);
evaluate->clicked().connect(
std::bind([=]() {
std::cout << dte1->date().isValid() << std::endl; //expected valid result, returns false
std::cout << dte2->date().isValid() << std::endl; //expected valid result, returns true
} )
);
Updated by Koen Deforche about 10 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.3.4
Updated by Koen Deforche about 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche almost 10 years ago
- Status changed from Resolved to Closed
Actions