diff --git a/src/components/common/SendEmailDialog.vue b/src/components/common/SendEmailDialog.vue
index 0f574a795..501c48a4d 100644
--- a/src/components/common/SendEmailDialog.vue
+++ b/src/components/common/SendEmailDialog.vue
@@ -1,7 +1,9 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue
index a8e0d4a43..8e0ef2890 100644
--- a/src/components/common/VnInputDate.vue
+++ b/src/components/common/VnInputDate.vue
@@ -10,7 +10,11 @@ const props = defineProps({
readonly: {
type: Boolean,
default: false,
- }
+ },
+ isOutlined: {
+ type: Boolean,
+ default: false,
+ },
});
const emit = defineEmits(['update:modelValue']);
const value = computed({
@@ -36,6 +40,16 @@ const formatDate = (dateString) => {
date.getDate()
)}`;
};
+
+const styleAttrs = computed(() => {
+ return props.isOutlined
+ ? {
+ dense: true,
+ outlined: true,
+ rounded: true,
+ }
+ : {};
+});
@@ -44,7 +58,7 @@ const formatDate = (dateString) => {
rounded
readonly
:model-value="toDate(value)"
- v-bind="$attrs"
+ v-bind="{ ...$attrs, ...styleAttrs }"
>
diff --git a/src/components/common/VnSmsDialog.vue b/src/components/common/VnSmsDialog.vue
index 7f019927e..8bb8c3858 100644
--- a/src/components/common/VnSmsDialog.vue
+++ b/src/components/common/VnSmsDialog.vue
@@ -1,7 +1,9 @@