Beautiful Open-Source Form Builder
Refactor PhoneInput component to enhance theme responsiveness (#914)
Chirag Chhatralaed04943266fd
diff --git a/client/components/forms/heavy/PhoneInput.vue b/client/components/forms/heavy/PhoneInput.vueindex 3d2b989cc..eba8284e6 100644--- a/client/components/forms/heavy/PhoneInput.vue+++ b/client/components/forms/heavy/PhoneInput.vue@@ -11,7 +11,8 @@:id="id ? id : name":name="name":style="inputStyle"- class="grid items-stretch w-full grid-cols-[auto_minmax(0,1fr)]"+ class="grid items-stretch w-full"+ :class="resolvedTheme === 'minimal' ? 'grid-cols-[auto_0.1rem_minmax(0,1fr)]' : 'grid-cols-[auto_minmax(0,1fr)]'"><v-selectclass="min-w-0"@@ -106,7 +107,7 @@ const props = defineProps({})// Composables-const { compVal, resolvedSize, inputStyle, inputWrapperProps, ui } = useFormInput(props, { emit }, {+const { compVal, resolvedSize, resolvedTheme, inputStyle, inputWrapperProps, ui } = useFormInput(props, { emit }, {variants: phoneInputTheme})