Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

String Prop defaults being translatable #97

Open
ilrein opened this issue May 6, 2020 · 0 comments
Open

String Prop defaults being translatable #97

ilrein opened this issue May 6, 2020 · 0 comments

Comments

@ilrein
Copy link

ilrein commented May 6, 2020

Example component prop:

title: {
      type: String,
      default: 'Create New',
},

It would be nice to replace the default string with $t{'create'} or this.$t{'create'} (currently results in undefined/error). Is there a way to achieve this?

@ilrein ilrein changed the title Prop defaults being translateable String Prop defaults being translatable May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant