Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
25
assets/js/forms/KimaiDateRangePicker.js
Normal file
25
assets/js/forms/KimaiDateRangePicker.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* This file is part of the Kimai time-tracking app.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*!
|
||||
* [KIMAI] KimaiDateRangePicker: activate the (daterange picker) compound field in toolbar
|
||||
*/
|
||||
|
||||
import KimaiDatePicker from "./KimaiDatePicker";
|
||||
|
||||
export default class KimaiDateRangePicker extends KimaiDatePicker {
|
||||
|
||||
prepareOptions(options)
|
||||
{
|
||||
return {...options, ...{
|
||||
plugins: ['mobilefriendly'],
|
||||
singleMode: false,
|
||||
autoRefresh: true,
|
||||
}};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user