Skip to content

Commit

Permalink
fix: display default value in 'select' fieldtype
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Dec 10, 2024
1 parent 22f71b2 commit 3d8d3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Controls/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3d8d3d9

Please sign in to comment.