Merge pull request #1045 from AbleKSaju/fix-select-type

fix: display default value in 'select' fieldtype
This commit is contained in:
Akshay
2024-12-10 11:16:00 +05:30
committed by GitHub
+3 -1
View File
@@ -28,7 +28,9 @@
'text-gray-500': !value,
}"
>
<span v-if="value" class="cursor-text w-full">{{ selectValue }}</span>
<span v-if="value" class="cursor-text w-full">{{
selectValue ? selectValue : value
}}</span>
<span v-else>{{ inputPlaceholder }}</span>
<svg
v-if="!isReadOnly"