We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417f20a commit 185aad1Copy full SHA for 185aad1
src/components/PrimeOutputBoolean.vue
@@ -17,9 +17,9 @@ const { t } = useI18n()
17
18
const translated = computed(() => {
19
if (props.context?._value)
20
- return t('formkit.prime.true', 'true')
+ return props.context?.trueValue ?? t('formkit.prime.true', 'true')
21
else
22
- return t('formkit.prime.false', 'false')
+ return props.context?.falseValue ?? t('formkit.prime.false', 'false')
23
})
24
</script>
25
0 commit comments