summaryrefslogtreecommitdiff
path: root/src/components/_sila/Global/TableDateFilter.vue
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-13 15:46:06 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-13 15:46:06 +0300
commit1272456ab2cb77f29b27f3839563b09a709cbc06 (patch)
treebb8655fd1dff128355a14f61b50556708e87f4a9 /src/components/_sila/Global/TableDateFilter.vue
parentb2bea3021aea8be3d4bc34f965bf58297c358bca (diff)
downloadwebui-vue-sila-fe.tar.xz
move sila-dev to _silasila-fe
Diffstat (limited to 'src/components/_sila/Global/TableDateFilter.vue')
-rw-r--r--src/components/_sila/Global/TableDateFilter.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/_sila/Global/TableDateFilter.vue b/src/components/_sila/Global/TableDateFilter.vue
index aa10cb5c..49e4b8ff 100644
--- a/src/components/_sila/Global/TableDateFilter.vue
+++ b/src/components/_sila/Global/TableDateFilter.vue
@@ -1,9 +1,10 @@
<template>
- <b-row class="mb-2">
+ <b-row class="mb-2 mt-2">
<b-col class="d-sm-flex">
<b-form-group
:label="$t('global.table.fromDate')"
label-for="input-from-date"
+ label-class="caption-12px mb-0"
class="mr-3 my-0 w-100"
>
<b-input-group>
@@ -12,7 +13,7 @@
v-model="fromDate"
placeholder="YYYY-MM-DD"
:state="getValidationState($v.fromDate)"
- class="form-control-with-button mb-3 mb-md-0"
+ class="form-control-with-button mb-md-0"
@blur="$v.fromDate.$touch()"
/>
<b-form-invalid-feedback role="alert">
@@ -50,6 +51,7 @@
<b-form-group
:label="$t('global.table.toDate')"
label-for="input-to-date"
+ label-class="caption-12px mb-0"
class="my-0 w-100"
>
<b-input-group>
@@ -101,7 +103,7 @@
import IconCalendar from '@carbon/icons-vue/es/calendar/20';
import { helpers } from 'vuelidate/lib/validators';
-import VuelidateMixin from '@/components/Mixins/VuelidateMixin.js';
+import VuelidateMixin from '@/components/_sila/Mixins/VuelidateMixin.js';
const isoDateRegex = /([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))/;