tabs and date in modal fix
This commit is contained in:
Vendored
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"main.js": {
|
"main.js": {
|
||||||
"file": "assets/main-1FLcNLEV.js",
|
"file": "assets/main-D9joEh0I.js",
|
||||||
"name": "main",
|
"name": "main",
|
||||||
"src": "main.js",
|
"src": "main.js",
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
"css": [
|
"css": [
|
||||||
"assets/main-U24QISX_.css"
|
"assets/main-BnJW41Dx.css"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,13 +9,17 @@
|
|||||||
export let value;
|
export let value;
|
||||||
export let isCreateMode;
|
export let isCreateMode;
|
||||||
export let validationErrors;
|
export let validationErrors;
|
||||||
|
|
||||||
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||||
$: errorMessage = getErrorMessage(validationErrors, field.name);
|
$: errorMessage = getErrorMessage(validationErrors, field.name);
|
||||||
|
|
||||||
export let id;
|
export let id;
|
||||||
|
let wrapperDiv;
|
||||||
let pickerInput;
|
let pickerInput;
|
||||||
let pickerInstance;
|
let pickerInstance;
|
||||||
let flatpickrOptions = {
|
let flatpickrOptions = {
|
||||||
|
appendTo: wrapperDiv,
|
||||||
|
static: true,
|
||||||
allowInput: true,
|
allowInput: true,
|
||||||
altInput: true,
|
altInput: true,
|
||||||
altFormat: "Y-m-d H:i:S",
|
altFormat: "Y-m-d H:i:S",
|
||||||
@@ -40,7 +44,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="mb-0">
|
<div class="mb-0" bind:this={wrapperDiv}>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
margin: 20px 0 20px;
|
margin: 20px 0 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
flex-wrap: wrap;
|
||||||
.tab{
|
.tab{
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
|
|||||||
@@ -105,3 +105,6 @@ a {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flatpickr-wrapper {
|
||||||
|
display: block!important;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user