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

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
commit 70e69e623d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"