Project

General

Profile

Actions

Bug #2067

closed

WDateEdit: on click event not received when setEmptyText is used

Added by Michael Knopke over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Michael Vilsker
Target version:
Start date:
07/26/2013
Due date:
% Done:

0%

Estimated time:

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

Actions #1

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

Actions #2

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

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF