2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 02:49:03 +00:00

fix: display default value in 'select' fieldtype

This commit is contained in:
AbleKSaju 2024-12-10 09:40:41 +05:30
parent 22f71b215f
commit 3d8d3d98e6

View File

@ -28,7 +28,7 @@
'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"