Bug #2067
closedWDateEdit: on click event not received when setEmptyText is used
0%
Description
While I was happy that it exists for WDateEdit (please keep it), using it prevents the user from using the Calendar popup, because the click is never processed.
How to Reproduce:
WDateEdit* dEdit = new WDateEdit();
dEdit->setEmptyText("Birth date"); // prevents calendar widget to popup
Updated by Koen Deforche over 11 years ago
- Status changed from New to InProgress
- Assignee set to Michael Vilsker
- Target version set to 3.3.1
Hey Michael,
Can you confirm this bug and see what causes this?
koen
Updated by Saif Rehman over 11 years ago
Not sure if this may be related, however, when adding a WDateEdit in a WContainerWidget(with parent css class "Wt-form"). The calendar icon does not appear. However if I click the right part of the WDateEdit, the calendar opens.
Either way I'll create a separate bug report
Updated by Michael Knopke over 11 years ago
Saif, I had the same issue, it's not related. The cause is that the icon is only shown when using the bootstrap theme, but you can easily add the same css "code" to any other theme. But I agree, it should be a bug report because this is not clear from the docs.
Updated by Michael Vilsker over 11 years ago
- Status changed from InProgress to Resolved
I found the problem. The fix will be soon available at the git repository.
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed