Ticket #684 (new defect)
TDatePicker problems
| Reported by: | snezana.nikolic | Owned by: | Development team |
|---|---|---|---|
| Priority: | high | Milestone: | 3.1.3 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | major | Keywords: | TDatePicker |
| Cc: |
Description
There are several issues about TDatePicker control I've noticed recently:
1. If TDatePicker InputMode? is set to "dropdownlist", there is no chance to avoid the image button which displays calendar, even if Mode is set to "Basic". Is this necessary when the DropDownList? calendar is rendering:
if($this->getMode() == TDatePickerMode::Basic) $this->setMode(TDatePickerMode::ImageButton);
(this code is in TDatePicker class file, lines 526-527, function renderDropDownListCalendar)
The reason why this button is unwanted is decribed in following issues.
2. Even if TDatePicker Enabled property set to false, you can change the date using the calendar appeared when this image button is clicked. The control is grayed, acting as disabled, but not if you use the calendar, because this button showing the calendar IS NOT DISABLED
3. When the calendar is displayed, it hides behind the datagrid which is below date picker on my page. That happens in Mozzila Firefox browser.
