mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
ImportExport: Fix export date filters lost their "All" option
This commit is contained in:
parent
cd523e6664
commit
17676a2112
@ -112,7 +112,7 @@ export class Et2DateRange extends Et2InputWidget(FormControlMixin(LitElement))
|
||||
?readonly=${this.readonly}
|
||||
?required=${this.required}
|
||||
placeholder=${ifDefined(this.placeholder)}
|
||||
emptyLabel=${ifDefined(this.emptyLabel)}
|
||||
.emptyLabel=${ifDefined(this.emptyLabel)}
|
||||
.select_options=${Et2DateRange.relative_dates}></et2-select>`;
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ class importexport_widget_filter extends Etemplate\Widget\Transformer
|
||||
$type = $field['type'] = 'date-range';
|
||||
$options = '';
|
||||
$this->setElementAttribute($form_name.'['.self::$prefix.$lname.']', 'relative', $relative_dates);
|
||||
$this->setElementAttribute($form_name.'['.self::$prefix.$lname.']', 'blur', $field['empty_label'] ? $field['empty_label'] : lang('All...'));
|
||||
$this->setElementAttribute($form_name . '[' . self::$prefix . $lname . ']', 'emptyLabel', $field['empty_label'] ? $field['empty_label'] : lang('All...'));
|
||||
break;
|
||||
case 'ajax_select' :
|
||||
// Set some reasonable defaults for the widget
|
||||
|
Loading…
Reference in New Issue
Block a user