Skip to content

Beautiful Open-Source Form Builder

Refactor DateInput component for improved styling and code clarity

JhumanJ188534abd73b
diff --git a/client/components/forms/heavy/DateInput.vue b/client/components/forms/heavy/DateInput.vue
index 8c016c831..687ad199c 100644
--- a/client/components/forms/heavy/DateInput.vue
+++ b/client/components/forms/heavy/DateInput.vue
@@ -12,7 +12,7 @@
>
<button
ref="triggerButton"
- class="cursor-pointer overflow-hidden"
+ class="overflow-hidden"
:class="ui.input()"
:disabled="props.disabled"
:aria-expanded="pickerOpen"
@@ -135,10 +135,7 @@ const {
compVal,
inputWrapperProps
} = useFormInput(props, getCurrentInstance(), {
- variants: dateInputTheme,
- additionalVariants: {
- disabled: props.disabled
- }
+ variants: dateInputTheme
})
const fromDate = ref(null)
const toDate = ref(null)