Skip to content

Commit 185aad1

Browse files
committed
feat(PrimeOutputBoolean): Add new Properties trueValue and falseValue
1 parent 417f20a commit 185aad1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/PrimeOutputBoolean.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const { t } = useI18n()
1717
1818
const translated = computed(() => {
1919
if (props.context?._value)
20-
return t('formkit.prime.true', 'true')
20+
return props.context?.trueValue ?? t('formkit.prime.true', 'true')
2121
else
22-
return t('formkit.prime.false', 'false')
22+
return props.context?.falseValue ?? t('formkit.prime.false', 'false')
2323
})
2424
</script>
2525

0 commit comments

Comments
 (0)