mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: datetimepicker: allow edit (solve #88)
This commit is contained in:
1 parent
e701807cbc
commit
4e846a906e
2 files changed
+3
-1
No files matched your search
@@ -5,6 +5,7 @@ const datepickerPage = new AutoloadPage('datepickerPage', async () => {
|
||||
await import('pickadate/lib/picker.date');
|
||||
$('[data-pick-date]').pickadate({
|
||||
format: 'yyyy-m-d',
|
||||
editable: true,
|
||||
clear: false,
|
||||
});
|
||||
}
|
||||
@@ -12,6 +13,7 @@ const datepickerPage = new AutoloadPage('datepickerPage', async () => {
|
||||
await import('pickadate/lib/picker.time');
|
||||
$('[data-pick-time]').pickatime({
|
||||
format: 'H:i',
|
||||
editable: true,
|
||||
interval: 15,
|
||||
clear: false,
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.5.6",
|
||||
"version": "4.5.7",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user