Skip to content

Commit

Permalink
[BUGFIX] Bind datepicker to body
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Apr 25, 2022
1 parent e5bd1d0 commit b863a5c
Show file tree
Hide file tree
Showing 7 changed files with 12,560 additions and 135 deletions.
1 change: 1 addition & 0 deletions assets/js/libs/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
const options = element.dataset.datepicker ? JSON.parse(element.dataset.datepicker) : {};
options.buttonClass = 'btn';
options.format = 'yyyy-mm-dd';
options.container = 'body';
new Datepicker(element, options);
});
}).catch(error => 'An error occurred while loading the datepicker component');
Expand Down
12,686 changes: 12,555 additions & 131 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/Resources/public/app.37439195.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/Resources/public/app.9a2b25fd.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/Resources/public/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"/bundles/template/app.b753e7a0.css"
],
"js": [
"/bundles/template/app.9a2b25fd.js"
"/bundles/template/app.37439195.js"
]
},
"webfont": {
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundles/template/app.css": "/bundles/template/app.b753e7a0.css",
"bundles/template/app.js": "/bundles/template/app.9a2b25fd.js",
"bundles/template/app.js": "/bundles/template/app.37439195.js",
"bundles/template/webfont.css": "/bundles/template/webfont.eb64eebe.css",
"bundles/template/295.eed82bf6.js": "/bundles/template/295.eed82bf6.js",
"bundles/template/fonts/fa-solid-900.ttf": "/bundles/template/fonts/fa-solid-900.e615bbcb.ttf",
Expand Down

0 comments on commit b863a5c

Please sign in to comment.